#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!
#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
#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
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: