fix
This commit is contained in:
parent
70e3c4e9f3
commit
69b3234c15
10
calcul.py
10
calcul.py
@ -4,7 +4,7 @@
|
||||
"""
|
||||
Created on Wed Jun 27 18:50:20 2018
|
||||
v0.3
|
||||
@author: svnet
|
||||
@author: @samuelvermeulen.pro
|
||||
"""
|
||||
|
||||
import random
|
||||
@ -28,7 +28,7 @@ while tour <= int(ntour):
|
||||
|
||||
# On pose l'opération
|
||||
if op == 1:
|
||||
print("Combien font ", a, " + ", b, " = ")
|
||||
print("Combien font ", a, " + ", b, " = ", end = " ")
|
||||
resultat = input()
|
||||
if resultat == "q": #Quitter
|
||||
os.system('clear')
|
||||
@ -50,7 +50,7 @@ while tour <= int(ntour):
|
||||
os.system('clear')
|
||||
|
||||
if op == 2:
|
||||
print("Combien font ", a, " - ", b, " = ")
|
||||
print("Combien font ", a, " - ", b, " = ", end = " ")
|
||||
resultat = input()
|
||||
if resultat == "q": #Quitter
|
||||
os.system('clear')
|
||||
@ -72,7 +72,7 @@ while tour <= int(ntour):
|
||||
os.system('clear')
|
||||
|
||||
if op == 3:
|
||||
print("Combien font ", a, " X ", b, " = ")
|
||||
print("Combien font ", a, " X ", b, " = ", end = " ")
|
||||
resultat = input()
|
||||
if resultat == "q": #Quitter
|
||||
os.system('clear')
|
||||
@ -94,7 +94,7 @@ while tour <= int(ntour):
|
||||
os.system('clear')
|
||||
|
||||
if op == 4:
|
||||
print("Combien font ", a, " ÷ ", b, " = (donnez l'entier)")
|
||||
print("Combien font ", a, " ÷ ", b, " = (donnez l'entier)", end = " ")
|
||||
resultat = input()
|
||||
if resultat == "q": #Quitter
|
||||
os.system('clear')
|
||||
|
Loading…
x
Reference in New Issue
Block a user