Skip to content

Commit e296e0b

Browse files
committed
doc: add comments
Exercises with commented arithmetic operators. Arithmetic Mean.
1 parent c9e005e commit e296e0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ex007.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#Arithmetic Mean
12
#07- Develop a program that reads a student's two grades, calculates and displays their average.
23
first_note = float(input('Enter your first note:'))
34
second_note = float(input('Enter your second note:'))
45
print(f' If your first note is {first_note} and your second note is {second_note}.\n You avarege will be {(first_note+second_note)/2}.')
56

7+
#Média Aritmética.
68
'''#7: Desenvolva um programa que leia as duas notas de um aluno, calcule e mostre a sua média.
79
print('Vamos calcular sua média?')
810
primeira_nota = float(input('Digite a primeira nota:'))

0 commit comments

Comments
 (0)