Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 10. Pedir una nota de 0 a 10 y mostrarla de la forma: Insuficiente, Regular,
- # Bien, Muy Bien, Sobresaliente.
- nota = int(input('Introduzca una nota entre 0 y 10: '))
- if nota >= 0 and nota <= 4:
- estatus = 'Insuficiente'
- elif nota == 5 :
- estatus = 'Regular'
- elif nota == 6 or nota == 7 :
- estatus = 'Bien'
- elif nota == 8 or nota == 9 :
- estatus = 'Muy bién'
- elif nota == 10 :
- estatus = 'Sobresaliente'
- print ('La nota ' + str(nota) + ' es ' + estatus)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement