From f84b7e7b197102b898172f43911510919401bbab Mon Sep 17 00:00:00 2001 From: chandresh189 <48803866+chandresh189@users.noreply.github.com> Date: Sat, 12 Oct 2019 10:02:29 +0530 Subject: [PATCH] Update Timelibrary --- Timelibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)