GCSE Python Programming 5 - Lists/Arrays

preview_player
Показать описание
Learn how to create, access and manipulate lists in Python.
Рекомендации по теме
Комментарии
Автор

these are super helpful but the intro music is giving me ptsd

arayasimms
Автор

Too much for 1 lesson this video should've been in 2 lessons.

chronomyst
Автор

why do we put the names in quotation marks, is it because we are storing them as strings?

idontknowwhattonamethish
Автор

man ur mic is 100 meters away from u and ur intro is friggen

Mgaa
Автор

at 10:42, why does the insert remove the 5? i thought it just put it into the array

Maya-lexm
Автор

unfortunately your code at 6:58 is wrong (you have missed up ()[] ) thus the program would not run. BTW please turn down the intro music it's causing me anxiety

malekhamdaoui
Автор

CountryCity = [["Italy", "France", "GB", "Germany"], ["Rome", "Paris", "London", "Berlin"]]
Country = input("Choose a country(type a number):\n\
1. Italy\n\
2. France\n\
3. GB\n\
4. Germany\n")
if Country == 1:
print("the capital is", CountryCity[1][0])
elif Country == 2:
print("the capital is", CountryCity[1][1])
elif Country == 3:
print("the capital is", CountryCity[1][2])
elif Country == 4:
print("the capital is", CountryCity[1][3])
else:
print("error")


This is what I did for the last program but the if, elif are not working

idontknowwhattonamethish
Автор

why dont we put int(input()) before arrays?

yahyagondal
Автор

What about you what to store student names and then their scores in three subject then total is at the end. But you ask user to input the student name and their score

mannyclipz_
join shbcf.ru