What is the output of print(sum(i for i in [1, 2, 3])) in Python?
print(sum(i for i in [1, 2, 3]))
43,842 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.