Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #imports
- from random import randint
- #main
- print('\n|Ej 8|')
- notas=[]
- for _ in range(14):
- notas.append(randint(1,10))
- print(f'\nNotas numericas -> {notas}')
- for i in notas:
- if i<7:
- notas[notas.index(i)]='Suspenso'
- else:
- notas[notas.index(i)]='Aprobado'
- print(f'\nNotas alfa -> {notas}')
- print('\nFin de la ejecucion!\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement