Skip to content

Commit 5eccd14

Browse files
Add files via upload
1 parent fe16793 commit 5eccd14

File tree

5 files changed

+60
-56
lines changed

5 files changed

+60
-56
lines changed

EN/calc.py

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,30 @@
2020
Percentage=float(number1)%float(number2)
2121
if process=="collect":
2222
print("{0} + {1} = {2}". format(number1,number2,collect))
23-
if process=="Extraction":
23+
elif process=="Extraction":
2424
print("{0} - {1} = {2}". format(number1,number2,Extraction))
25-
if process=="Impact":
25+
elif process=="Impact":
2626
print("{0} * {1} = {2}". format(number1,number2,Impact))
27-
if process=="Divide":
27+
elif process=="Divide":
2828
print("{0} / {1} = {2}". format(number1,number2,Divide))
29-
if process=="Percentage":
29+
elif process=="Percentage":
3030
print("{0} % {1} = {2}". format(number1,number2,Percentage))
31+
else:
32+
print("Invalid Proccess!")
3133
if command=="about":
3234
print(about)
33-
if command=="exit":
35+
elif command=="exit":
3436
exit()
35-
if command=="help":
37+
elif command=="help":
3638
print("Python calc Help")
3739
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
38-
if command=="git-address":
40+
elif command=="git-address":
3941
print("Github Link: https://github.com/LinuxUsersLinuxMint")
40-
if command=="web-site":
42+
elif command=="web-site":
4143
print("linuxuserslinuxmint.github.io")
42-
if command=="ver":
43-
print("Version: 0.1.5.2 (Last Updated September 6 , 2023 , 18:10)")
44-
if command=="licence":
45-
print("This Software is protected under the GPL2 license")
44+
elif command=="ver":
45+
print("Version: 0.1.5.5 (Last Updated September 6 , 2023 , 22:22)")
46+
elif command=="licence":
47+
print("This Software is protected under the GPL2 license")
48+
else:
49+
print("Invalid Command!")

INSTALL/EN/calc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ if command=="calc":
2020
Percentage=float(number1)%float(number2)
2121
if process=="collect":
2222
print("{0} + {1} = {2}". format(number1,number2,collect))
23-
if process=="Extraction":
23+
elif process=="Extraction":
2424
print("{0} - {1} = {2}". format(number1,number2,Extraction))
25-
if process=="Impact":
25+
elif process=="Impact":
2626
print("{0} * {1} = {2}". format(number1,number2,Impact))
27-
if process=="Divide":
27+
elif process=="Divide":
2828
print("{0} / {1} = {2}". format(number1,number2,Divide))
29-
if process=="Percentage":
29+
elif process=="Percentage":
3030
print("{0} % {1} = {2}". format(number1,number2,Percentage))
3131
if command=="about":
3232
print(about)
33-
if command=="exit":
33+
elif command=="exit":
3434
exit()
35-
if command=="help":
35+
elif command=="help":
3636
print("Python calc Help")
3737
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
38-
if command=="git-address":
38+
elif command=="git-address":
3939
print("Github Link: https://github.com/LinuxUsersLinuxMint")
40-
if command=="web-site":
40+
elif command=="web-site":
4141
print("linuxuserslinuxmint.github.io")
42-
if command=="ver":
43-
print("Version: 0.1.5.2 (Last Updated September 6 , 2023 , 18:10)")
44-
if command=="licence":
42+
elif command=="ver":
43+
print("Version: 0.1.5.5 (Last Updated September 6 , 2023 , 22:22)")
44+
elif command=="licence":
4545
print("This Software is protected under the GPL2 license")

INSTALL/TR/calc

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,30 @@ if command=="calc":
2020
yuzde=float(sayi1)%float(sayi2)
2121
if islem=="top":
2222
print("{0} + {1} = {2}". format(sayi1,sayi2,top))
23-
if islem=="cık":
23+
elif islem=="cık":
2424
print("{0} - {1} = {2}". format(sayi1,sayi2,cık))
25-
if islem=="carp":
25+
elif islem=="carp":
2626
print("{0} * {1} = {2}". format(sayi1,sayi2,carp))
27-
if islem=="bol":
27+
elif islem=="bol":
2828
print("{0} / {1} = {2}". format(sayi1,sayi2,bol))
29-
if islem=="yuzde":
29+
elif islem=="yuzde":
3030
print("{0} % {1} = {2}". format(sayi1,sayi2,yuzde))
31+
else:
32+
print("Geçersiz İşlem")
3133
if command=="about":
3234
print(about)
33-
if command=="exit":
35+
elif command=="exit":
3436
exit()
35-
if command=="help":
37+
elif command=="help":
3638
print("Python calc Help")
3739
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
38-
if command=="git-address":
40+
elif command=="git-address":
3941
print("Github Link: https://github.com/LinuxUsersLinuxMint")
40-
if command=="web-site":
42+
elif command=="web-site":
4143
print("linuxuserslinuxmint.github.io")
42-
if command=="ver":
43-
print("Sürüm: 0.1.5.2 (Son Güncellenme Tarihi 6 Eylül , 2023 , 18:10)")
44-
if command=="licence":
45-
print("This Software is protected under the GPL2 license")
44+
elif command=="ver":
45+
print("Sürüm: 0.1.5.5 (Son Güncellenme Tarihi 6 Eylül , 2023 , 22:22)")
46+
elif command=="licence":
47+
print("This Software is protected under the GPL2 license")
48+
else:
49+
print("Geçersiz Komut")

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
# Python-Calcutator
2-
3-
Python-Calcutator Basit ve Gelişmeyi Hedefleyen Yeni Bir Tarzda Hesap Makinesi:
4-
5-
* "calc> _" yeni bir arayüz tarzı komut satırı gibi hesaplama yapmak.
6-
7-
Python-Calcutator A Simple and Evolving New Style Calculator:
8-
9-
* "calc> _" new interface style to do calculation like command line.
1+
# Python-Calcutator

TR/calc.py

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,30 @@
2020
yuzde=float(sayi1)%float(sayi2)
2121
if islem=="top":
2222
print("{0} + {1} = {2}". format(sayi1,sayi2,top))
23-
if islem=="cık":
23+
elif islem=="cık":
2424
print("{0} - {1} = {2}". format(sayi1,sayi2,cık))
25-
if islem=="carp":
25+
elif islem=="carp":
2626
print("{0} * {1} = {2}". format(sayi1,sayi2,carp))
27-
if islem=="bol":
27+
elif islem=="bol":
2828
print("{0} / {1} = {2}". format(sayi1,sayi2,bol))
29-
if islem=="yuzde":
29+
elif islem=="yuzde":
3030
print("{0} % {1} = {2}". format(sayi1,sayi2,yuzde))
31+
else:
32+
print("Geçersiz İşlem")
3133
if command=="about":
3234
print(about)
33-
if command=="exit":
35+
elif command=="exit":
3436
exit()
35-
if command=="help":
37+
elif command=="help":
3638
print("Python calc Help")
3739
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
38-
if command=="git-address":
40+
elif command=="git-address":
3941
print("Github Link: https://github.com/LinuxUsersLinuxMint")
40-
if command=="web-site":
42+
elif command=="web-site":
4143
print("linuxuserslinuxmint.github.io")
42-
if command=="ver":
43-
print("Sürüm: 0.1.5.2 (Son Güncellenme Tarihi 6 Eylül , 2023 , 18:10)")
44-
if command=="licence":
45-
print("This Software is protected under the GPL2 license")
44+
elif command=="ver":
45+
print("Sürüm: 0.1.5.5 (Son Güncellenme Tarihi 6 Eylül , 2023 , 22:22)")
46+
elif command=="licence":
47+
print("This Software is protected under the GPL2 license")
48+
else:
49+
print("Geçersiz Komut")

0 commit comments

Comments
 (0)