#Python Pop Quiz 🐍❓
What does the following code print out?
A) Some kind of exception is raised
B) [(1, 'a'), (2, 'b'), (3, 'c')]
C) [(1, 'a'), (2, 'b'), (3, 'c'), (4, ''), (5, '')]
D) [(1, 'a'), (2, 'b'), (3, 'c'), (4, 'a'), (5, 'b')]
#Python Pop Quiz 🐍❓
What will be the output if you run this code?
A) integers_found = 2 bools_found = 3
B) integers_found = 5 bools_found = 2
C) integers_found = 5 bools_found = 0
D) integers_found = 5 bools_found = 5
Don't miss episode number NINE of The Python Show podcast with @driscollis
This week's episode features Al Sweigart @AlSweigart author of Automating the Boring Stuff with Python and many other books! 🐍
pythonshow.com/p/09-automatio…
#Python Pop Quiz 🐍❓
What is the output of the following code?
A) Py.py = 7 Cy.py = 3.14 Vy.py = 7
B) Py.py = 7 Cy.py = 3.14 Vy.py = 1
C) None of the above
#Python Pop Quiz 🐍❓
What is the output of this crazy code?
A) [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
B) [['python', 0, 0], ['python', 0, 0], ['python', 0, 0]]
C) [[0, 'python', 0], [0, 'python', 0], [0, 'python', 0]]
D) What the heck!?