Can anyone please tell me what I am doing wrong?As this code I have for the 
Roulette Wheel colours exercise, won't work. number = int(input('Enter a number 
between 0 and 36: '))green_number = (0) red_number = (1, 3, 5, 7, 9, 12, 14, 
16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36) black_number = (2, 4, 6, 8, 10, 11, 
13, 15, 17, 20, 22, 24, 26, 28, 34, 29, 31, 33, 35)
if number == green_number:    print('Number is Green')    elif number == 
red_number:    print('Number is Red')    elif number == black_number:        
print('Number is Black')
Thank you for any help, Jag

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to