Why the != operator seem no use?
kg_p= input(‘Would you like to enter your weight in Kg or Pound?’) while kg_p !=’KG’ or ‘POUND’: print(‘You entered a invalid answer’) kg_p= input(‘Would you like to enter your weight again in Kg or Pound?’) weight=input(‘Please enter your weight:’) while True: try: weight_1=int(weight) except ValueError: print(‘You must enter your weight in integer’) weight=input(‘Please enter your […]