r/PythonLearning • u/clcodingupdates • 3d ago
Python Quiz of the Day.
What will be the output of the following Python Code?
a, *b, c = [2, 4, 6, 8, 10]
print(a + c + len(b))
6
Upvotes
r/PythonLearning • u/clcodingupdates • 3d ago
What will be the output of the following Python Code?
a, *b, c = [2, 4, 6, 8, 10]
print(a + c + len(b))