Skip to content

Instantly share code, notes, and snippets.

@Mdslino
Created April 5, 2017 22:24
Show Gist options
  • Save Mdslino/36a0be02cd409b1de9b1697e74f2ad5e to your computer and use it in GitHub Desktop.
Save Mdslino/36a0be02cd409b1de9b1697e74f2ad5e to your computer and use it in GitHub Desktop.
hora = int(input("Informe a hora com dois digitos"))
if hora >=0 and <=11:
print("Bom dia")
elif hora >=12 and <=17:
print("Boa Tarde")
else:
print("Boa Noite")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment