Advertisement
Guest User

Franco_ejercicio10

a guest
Mar 30th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. # 10. Pedir una nota de 0 a 10 y mostrarla de la forma: Insuficiente, Regular,
  2. # Bien, Muy Bien, Sobresaliente.
  3.  
  4.  
  5. nota = int(input('Introduzca una nota entre 0 y 10: '))
  6. if nota >= 0 and nota <= 4:
  7.     estatus = 'Insuficiente'
  8. elif nota == 5 :
  9.     estatus = 'Regular'
  10. elif nota == 6 or nota == 7 :
  11.     estatus = 'Bien'
  12. elif nota == 8 or nota == 9 :
  13.     estatus = 'Muy bién'
  14. elif nota == 10 :
  15.     estatus = 'Sobresaliente'
  16.  
  17. print ('La nota ' + str(nota) + ' es ' + estatus)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement