Teaching Python to Everyone

Iowa
Joined September 2022
Teach Me Python@TeachMePy24 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What's in the `b` variable? A) 2 B) [2, 3, 4, 5] C) [2, 3, 4] D) What is this madness?
11
6
24
2,993
Teach Me Python@TeachMePy23 Aug 2023
#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')]
3
3
9
1,513
Teach Me Python@TeachMePy18 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What does the `my_list` look like after this code runs? A) [] B) [1, 3, 5] C) [2, 4, 6] D) An IndexError is raised
3
10
1,707
Teach Me Python@TeachMePy17 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What does the following code print out, if anything? A) An exception B) 1 C) 2 D) 3 E) None of the above
1
7
1,146
Teach Me Python@TeachMePy16 Aug 2023
#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
4
7
900
Teach Me Python@TeachMePy16 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What will be the output if you run this code? A) 'a, b, c' B) 'c, b, a' C) '' D) 'b, a, c'
6
6
1,135
Teach Me Python@TeachMePy11 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What will be the output if you run this code? A) {range} B) (range) C) [0, 1, 2] D) (0, 1, 2) E) {0, 1, 2}
4
1
5
1,199
Teach Me Python@TeachMePy9 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What is the value of `NOT_FOUND` at the end of this code? A) NameError B) None C) 200 D) 0
2
1
5
864
Teach Me Python@TeachMePy8 Aug 2023
#Python Pop Quiz ๐Ÿโ“ Which string method do you use to get the expected output? A) upper() B) casefold() C) swapcase() D) caseswitch()
2
7
894
Teach Me Python@TeachMePy7 Aug 2023
#Python Pop Quiz ๐Ÿโ“ What is the output of this crazy code? A) SyntaxError B) RuntimeError C) 2 D) 1 + 1 E) None of the above
5
1
12
6,025