
Patrick B. answered 02/01/21
Math and computer tutor/teacher
import math
numHours=-1
while (float(numHours)<0):
numHours = input("Please input the number of hours :>")
numHours = math.ceil(float(numHours))
print(" Usage charge is for " + str(numHours)+ " hours")