Im writing a rock paper scissor program and here is the block that its refering to:
Its telling me to simplify the if statement.
if x > 0 and x < 4:
I dont see how to do that???
Python:
if to_check > 0 and to_check < 4:
match(to_check)
else:
clear_screen()
print('Select a number between 1 and 3')
input('Press ENTER to continue ')
clear_screen()
main_menu()
Its telling me to simplify the if statement.
if x > 0 and x < 4:
I dont see how to do that???