class Monthly_expense:
def __init__ (self,hours,cost,month):
self.hours=hours
self.cost=cost
self.month=month
cost= hours* 0.65
print("In "+month+" we spent: " + str(cost))
#Start Entry
Start=input("Start data entry (Y/N):")
while Start.upper() != "N":
month=input("Enter month :")
hours=int(input("Please enter hours :"))
cost=0
monthly_exp =Monthly_expense(hours,cost,month)
cont=input("Continue entry(Y/N) :")
if cont.upper() == "N" :
break