0
Lists , why won’t it run please help
fruits = ["apple", "cherry", "banana", "kiwi", "lemon", "pear", "peach", "avocado"] num = int(input()) if num < 0 or num > 7: print("wrong number") else: print(fruits[num])
2 Respostas
+ 2
It works fine, what's your issue?
+ 2
Okay i fixed something a small letter into a capital one … thank you