Posts by Gabriel Reis • 1 point
1 post
-
0
votes1
answer293
viewsA: Python programming (calculating average with shares, average case less than set value)
One way to do it is with the use of Elif. def main(): nome = input('Nome do Aluno: ') ra = input('RA do aluno: ') print('Inserir notas de "0 a 10.0"') nota1 = float(input('Prova 1: ')) nota2 =…