+ 1
How do I make this work?
spannum = ("zero", "uno", "dos", "tres", "cuatro") x= input() print(spannum[x])
4 odpowiedzi
+ 3
spannum = ["zero", "uno", "dos", "tres", "cuatro"]
x = int(input())
print(spannum[x])
+ 3
@Dania Miller np ☺
+ 1
@Samuel Súr Thank you, it worked!
0
stk = ('wow', 'end', 'cik', 'vin')
x = int(input())
if x in range(4):
print(stk[x])
else:
print('Put right number!')