$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #106
What is printed?
print('x'.join([]), len('x'.join([])))
0
x 1
None 0
TypeError
Joining nothing yields the empty string, so the length is zero.
Play Problem Solving ▸
◂ #105
all Problem Solving — predict the output questions
#107 ▸