Change to english print
This commit is contained in:
4
pi/pi.py
4
pi/pi.py
@@ -11,7 +11,7 @@ def pi_decimals(n):
|
|||||||
|
|
||||||
# Exemple d'utilisation :
|
# Exemple d'utilisation :
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
n = int(input("Combien de décimales de π souhaitez-vous ? "))
|
n = int(input("How many decimal of pi you want ? "))
|
||||||
valeur_pi = pi_decimals(n)
|
valeur_pi = pi_decimals(n)
|
||||||
print(f"π avec {n} décimales :\n{valeur_pi}")
|
print(f"π with {n} decimal :\n{valeur_pi}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user