Source Code:
(back to article)
fruits = ["apple", "banana", "cherry", "durian", "elderberry"] first_three_fruits = fruits[0:3] print(first_three_fruits)
Result:
Report an issue