1
I’m making a student grade number registration code, so I want the user to put a number between a range of 1 to 10, BUT I also want the breaks to be in float(ou seja: 0.1,0.2... 9.8,9.9,10.0).
nota_1 = float(input("Digite a primeira nota de " + str(aluno_1) + ": "))
mat_aluno_nota [1][0] = nota_1
while nota_1 not in (0,1,2,3,4,5,6,7,8,9,10):
print("Digite um número entre 0 a 10")
Is there any way I can make it faster Without getting them all one at a time?