Skip to content

Commit d6560e6

Browse files
Update calc.py
1 parent e21f2c4 commit d6560e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

EN/calc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
multiplication=float(number1)*float(number2)
2020
division=float(number1)/float(number2)
2121
Percentage=float(number1)%float(number2)
22-
if process=="collect":
22+
if process=="Addition":
2323
print("{0} + {1} = {2}". format(number1,number2,addition))
24-
elif process=="Extraction":
24+
elif process=="Subraction":
2525
print("{0} - {1} = {2}". format(number1,number2,subraction))
26-
elif process=="Impact":
26+
elif process=="Multiplication":
2727
print("{0} * {1} = {2}". format(number1,number2,multiplication))
28-
elif process=="Divide":
28+
elif process=="Division":
2929
print("{0} / {1} = {2}". format(number1,number2,division))
3030
elif process=="Percentage":
3131
print("{0} % {1} = {2}". format(number1,number2,Percentage))
@@ -47,4 +47,4 @@
4747
elif command=="licence":
4848
print("This Software is protected under the GPL2 license")
4949
else:
50-
print("Invalid Command!")
50+
print("Invalid Command!")

0 commit comments

Comments
 (0)