Dec-30-2017, 10:12 PM
I have tried something:
import time run= True def myfunc(): a=input("first") b=input("second") c=int(a)+int(b) print(c) class myClass: def __init__(self): print(myfunc()) time.sleep(3) end=input("end?(Y/N)") if end=="Y": run= False while run== True: myClass()but it didn't really worked out