#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! π
https://t.co/fXmGZeTrIX
#Python Pop Quiz πβ
What is the output of the following code?
A) https://t.co/Hrds0zGJ5R = 7 https://t.co/83YKShchJn = 3.14 https://t.co/Q7ies4wmHq = 7
B) https://t.co/Hrds0zGJ5R = 7 https://t.co/83YKShchJn = 3.14 https://t.co/Q7ies4wmHq = 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!?