Created
October 25, 2017 19:37
-
-
Save tkovs/27f39e61eb6a6869acc33c0a514723bc to your computer and use it in GitHub Desktop.
joel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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