Question: please help with code it runnining incorrectly def main ( ) : print ( f Roulette Wheel Colors App ) pocket = int (

please help with code it runnining incorrectly
def main():
print(f"Roulette Wheel Colors App")
pocket = int(input("Please enter pocket number (0-36): "))
if 1>= pocket <=36:
if pocket ==0:
print("Green")
elif 1>= pocket <=10:
if pocket%2==0:
print("black")
else:
print("red")
elif 11>= pocket <=18:
if pocket%2==0:
print("red")
else:
print("black")
elif 19>= pocket <=28:
if pocket%2==0:
print("black")
else:
print("red")
elif 29>= pocket <=36:
if pocket%2==0:
print("red")
else:
print("black")
else:
print("Error ... Invalid pocket. Try Again")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!