speed = int(input("Enter vechile speed")) if speed < 51 : print("No fine keep driving safely") if speed in range (51, 55): print ("A little catious") if speed in range (56, 60): print ("Slow down! 200 dollar fine!") if speed > 60: print ("1000 dollar fine!") pygame.joystick.Joystick()