What is your favorite #Python IDE and why? 🐍 PyCharm 🐍 Visual Studio Code 🐍 Wingware IDE 🐍 Eclipse 🐍 Something else
#Python Pop Quiz 🐍❓ What is the length that is returned? A) 0 B) 1 C) 2 D) None of the above image
#Python Pop Quiz 🐍❓ Find the top 3 letter counts in the following string using Python: Use any Python module you want to, but extra points for using the standard library! image
#Python Pop Quiz 🐍❓ Take a look at the following CPython REPL session: Which value will no longer return True if you set both variables to that value? A) 10 B) 200 C) 256 D) 257 image
#Python Pop Quiz 🐍❓ What are the contents of the silly_dict variable? A) {"py": "amazing"} B) {"py": 10} C) {"py": "amazing", <__main__.MyClass object at 0x7fda59c38460>: 10} D) None of the above image
If you're new to #Python, you might know you can chain some methods together. You'll see this type of thing, especially in #pandas, but you can do method chaining in several of Python's built-in objects as well. Here's an example of chaining string methods together: image
#Python Pop Quiz 🐍❓ What is the output of this code? A) 19 B) 0 C) True D) False image
#Python Pop Quiz 🐍❓ What is the output of this code? A) SyntaxError B) True C) False D) None image
#Python Pop Quiz 🐍❓ Does the following print True or False? image
#Python Pop Quiz 🐍❓ What is the output of this code? A) TypeError B) [(1, 3, 5), (2, 4, 6)] C) [1, 2,3, 4, 5, 6] D) [1, 3, 5, 2, 4, 6] image