tn = input("The current time now in 24 hr format.                                    ") #variable to indicate time now
wt = input("The time to wait for appoinment.                                         ") #variable to indicate the waiting time to appointment

tn2 = int(tn)    #Converts the input string to integer
wt2 = int(wt)

a = tn2+wt2
print("The time when you finish your appointment is",a, "hours")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: