May-23-2018, 03:31 AM
Need help for the following:
numerator = int(input("Enter a numerator: ")) denominator = int(input("Enter denominator: ")) # Use a while loop here to repeatedly ask the user for # a denominator for as long as the denominator is 0 # (or, put another way, until the denominator is not # equal to 0). if numerator / denominator * denominator == numerator: print "Divides evenly!" else: print "Doesn't divide evenly."