Jak uzyskać indeks tygodnia na liście w Python
days = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
for index,day in enumerate(days):
if index >= 0: index += 1
print(index, day)
Programmer of empires