Menu
×
×
Correct!
Exercise:Use a range of indexes to print the third, fourth, and fifth item in the tuple.
fruits = ("apple", "banana", "cherry", "orange", "kiwi", "melon", "mango")
print(fruits[@(3)])
fruits = ("apple", "banana", "cherry", "orange", "kiwi", "melon", "mango")
print(fruits[2:5])
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?