$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #187
What is the output?
a = (1,) b = (1) print(type(a) is type(b))
False
True
None
Error
The comma makes the tuple, not the parentheses — so b is just the integer 1.
Play Problem Solving ▸
◂ #186
all Problem Solving — predict the output questions
#188 ▸