What is the output of the following ?
aTuple = (10, 20, 30, 40, 50, 60, 70, 80)
print(aTuple[2:5], aTuple[:4], aTuple[3:])
Wähle eine der folgenden:
-
(30, 40, 50) (10, 20, 30, 40) (40, 50, 60, 70, 80)
-
(20, 30, 40, 50) (10, 20, 30, 40) (30, 40, 50, 60, 70, 80)
-
(30, 40, 50) (10, 20, 30, 40) (40, 50, 60, 70)
-
(30, 40, 50) (10, 20, 30) (40, 50, 60, 70, 80)