Académique Documents
Professionnel Documents
Culture Documents
pratiques Programmation
Python
TP2
Age=float(input(“Entrez votre age”))
If Age ≥ 60:
Else :
TP3
Age =float(input(“Entrez votre âge”))
If Age =1:
TP4
Import-math
a=float(input(“saisir la valeur de a:”))
delta=b**2-4*a*c
if delta˂0:
elif delta==0 :
X=(-b)/(2*a)
Else:
X1=-b-math.sqrt(delta)/(2*a)
X2=-b+ math.sqrt(delta)/(2*a)
TP5
m=float(input“saisir le premier nombre m”)
else:
TP6
T=float(input(“entrez la temperature d’eau” )
If T˂0/
Elif 0˂T˂100:
Elif T˃100: