notas=list()
while True:
nota=float(input("Digite a sua nota: "))
notas.append(nota)
while True:
continuar = input("Deseja continuar?[S/N]: ")
if continuar.upper() not in 'SN':
print('Opção INVÁLIDA!')
else:
break
if continuar.upper() == 'N':
break
else:
continue
notas_ordenadas=sorted(notas)
print(f"Notas ordenadas: {'; '.join(str(n) for n in notas_ordenadas)}")