Python tuples 📋

preview_player
Показать описание
python tuples tutorials explained

#python #tuples #tutorial
Рекомендации по теме
Комментарии
Автор

# tuple = collection which is ordered and unchangeable
# used to group together related data

student = ("Bro", 21, "male")

print(student.count("Bro"))
print(student.index("male"))

for x in student:
print(x)

if "Bro" in student:
print("Bro is here!")

BroCodez
Автор

DID YOU JUST USE X INSTEAD OF I IN A FOR LOOP

marioshusband
Автор

Very well, straight to the point video!

arandomyoutubenerd
Автор

Thanks a lot bro!! Helped me in getting the confusion of tuples out of my mind!!💞💞💞💞💜💜

Hydra_Warrior
Автор

I failed y intro to programming class because I didn't know what a tuple was... They must've taught them on a day that I missed. Sucks... Hopefully I pass my appeal exam.

miguelpereira
Автор

me commenting even before watching the whole video, because my bro told me to do so !!!

greeshmitadasari
Автор

while True:
print(""Bro Code's the BEST !!"")

bnm
Автор

When using the for x statement in this video on Python 3.10.2. I get an error saying x isn't in the student list.

johnmcclure