Asabeneh / 30-Days-Of-Python

30 days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than100 days, follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
32.74k stars 6.64k forks source link

In Day 6 - Tuples hava some a syntax error: #480

Open mjz2457784786 opened 3 months ago

mjz2457784786 commented 3 months ago

In Day 6 - Tuples hava some a syntax error: fruits = ('banana', 'orange', 'mango', 'lemon') first_fruit = fruits[0] second_fruit = fruits[1] last_index =len(fruits) - 1 last_fruit = fruits[las_index] In the last line, ‘las’ should be changed to ‘last’

RonakSiddhpura commented 2 months ago

In Day 6 - Tuples hava some a syntax error: fruits = ('banana', 'orange', 'mango', 'lemon') first_fruit = fruits[0] second_fruit = fruits[1] last_index =len(fruits) - 1 last_fruit = fruits[last_index] In the last line, ‘las’ should be changed to ‘last’

DarkTechPirate commented 2 months ago

Finished this