Skip to content

Instantly share code, notes, and snippets.

@tkovs
Created October 25, 2017 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkovs/27f39e61eb6a6869acc33c0a514723bc to your computer and use it in GitHub Desktop.
Save tkovs/27f39e61eb6a6869acc33c0a514723bc to your computer and use it in GitHub Desktop.
joel
nome = input('Digite um nome: ')
nota = float(input('Digite um numero: '))
if nota >= 9:
conceito = 'A' # topado!
elif nota >= 8:
conceito = 'B'
elif nota >= 7:
conceito = 'C'
elif nota >= 6:
conceito = 'D'
else:
conceito = 'E'
print(nome)
print(nota)
print(conceito)
if nota < 6:
print ('reprovado')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment