0% found this document useful (0 votes)
15 views2 pages

Calcul de la Moyenne Scolaire

Uploaded by

lhonneurmarcol
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Calcul de la Moyenne Scolaire

Uploaded by

lhonneurmarcol
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

# calcule de la moyenne

print("ENTRER LES NOTES DE L'ELEVES ")


print(" RESULTAT DE L'ELEVE ")
print("entrer precisement la note selon la matiere ")
print("[Link] de classe: ")
print()
a=float(input("math :"))
b=float(input("pc :"))
c=float(input("ang :"))
d=float(input("fr :"))
e=float(input("svt :"))
f=float(input("eps :"))
i=float(input("philo :"))
q=float(input("hg :"))
# composition
print("[Link]:")
print()
j=float(input("math :"))
k=float(input("pc :"))
l=float(input("ang :"))
m=float(input("fr :"))
n=float(input("svt :"))
o=float(input(" eps :"))
p=float(input("philo :"))
r=float(input("hg :"))
# resultat devoir de classe + compo
math =int(a + j)
pc=float(b+k)
ang=float(c+l)
fr=float(d+m)
svt=float(e+n)
eps=float(f+o)
philo=float(i+p)
hg=float(q+r)
#moyenne de classe
print("moyenne de classe: ")
print()
# moyenne general
print(math)
print(pc)
print(ang)
print(fr)
print(svt)
print(eps)
print(philo)
print(hg)
# moyenne general
print("Moyenne General")
print()
math = math/2*4
print("math :",math)
pc = pc/2*5
print("pc:",pc)
ang = ang/2*3
print("ang:",ang)
fr= fr/2*3
print("fr:",fr)
svt = svt/2*5
print("svt:",svt)
eps= eps/2*2
print("eps:",eps)
philo = philo/2*3
print("philo:",philo)
hg = hg/2*3
print("hg:",hg)
print()
moyennegeneraltotal =(math + pc + ang + fr + svt + eps + philo + hg)
print("moyenne general total :" , moyennegeneraltotal)
print()
total = moyennegeneraltotal/28
print("TOTAL :",total)

You might also like