def time(): print("input in 24 hours format") a=int(input("Enter hour")) b=int(input("Enter min")) print("time", a,":",b) if a > 4 and a<11: print("Good morning") elif a>=11 and a<=17: print("good afternoon") else: print("good night") time()

Built With

Share this project:

Updates