Hard
What is the output of the following code ?
def f(l):
for element in l:
print(element, end=" ")
else:
print("\nOops, something went wrong...")
f(list())
f([x for x in range(3)])
Author: ThéoStatus: PublishedQuestion passed 1429 times
Edit
14
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Python