I have a problem with a problem that would be as follows, the problem asks to sort the numbers in the order that you typed them and then do the reverse order, someone can give me a light, the code is more or less this: p>
ps: is not in list.
this cont is because you have to show the media and how many were typed.
(I'm using the while true, pq in the problem it to quit qnd typing a negative number)
cont = 0
while True:
notas = float(input("Informe a nota: "))
if notas == -1:
break
cont += 1
print(cont)