diff --git a/Timelibrary b/Timelibrary index 1ea8905..4e2c43b 100644 --- a/Timelibrary +++ b/Timelibrary @@ -2,7 +2,7 @@ import time currenttime= int(time.strftime('%H')) print(currenttime) x=input("enter name") - if currenttime < 12: + if currenttime <= 12: print(("Good Morning ")+x) if currenttime>12 and currenttime<18: print(("Good Afternoon ")+x)