Posts

Showing posts with the label print a gretings based on gievn time

print a gretings based on gievn time

  print a gretings based on gievn time           t=int(input())      if(t>=4 and t<12):          print("Good Morning")      elif(t>=12 and t<16):          print("Good Afternoon")      elif(t>=16 and t<20):          print("Good Evening")      else:          print("Good Night")