Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- time=int(input("Enter time to ask Pryer time:"))
- if (time<=24):
- print("You entried:",time)
- if (time>=13 and time<15):
- print("Its time for Dhuhr")
- elif (time>=15 and time<18):
- print("Its time for Asr")
- elif (time==19):
- print("Its time for Magrib")
- elif (time>=20 and time<24):
- print ("Its time for Esha")
- elif (time>=5 and time<6):
- print("Its time for Fajr")
- else:
- print("Its not prayer time, wait for time")
- else:
- print("Please enter time range of 24 Hours")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement