Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for s3q2_swaramulagari
def greeting(): hour = int(input("Enter the hour (0-23): ")) if hour < 0 or hour > 23: print("Please enter a valid hour (0-23).") return if 5 <= hour < 12: print("Good morning!") elif 12 <= hour < 18: print("Good afternoon!") else: print("Good evening!")
greeting()
Log in or sign up for Devpost to join the conversation.