+ 1
How do I make this work?
spannum = ("zero", "uno", "dos", "tres", "cuatro") x= input() print(spannum[x])
4 Answers
+ 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!')