TypeScript code snippet – How do i add limitations in inputs in python?
hp_cur=int(input("Enter the current number of HP (1-75): ")) hp_max= int(input("Enter the maximum number of HP (1-75): ")) hp_dif=(hp_max-hp_cur)
hp_cur=int(input("Enter the current number of HP (1-75): ")) hp_max= int(input("Enter the maximum number of HP (1-75): ")) hp_dif=(hp_max-hp_cur)