Skip to content

Commit 2c7cc77

Browse files
Add files via upload
1 parent d7c61df commit 2c7cc77

File tree

16 files changed

+869
-0
lines changed

16 files changed

+869
-0
lines changed

EN/calc.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
5+
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
6+
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
7+
8+
command=input('calc> ')
9+
about= "Python Calcutator CLI(Command Line Interface) LICENCE=GPL"
10+
if command=="calc":
11+
print("calc> Transactions You Can Enter: ")
12+
print("collect\nExtraction\n\Impact\nDivide\nPercentage\nabout")
13+
number1=input('calc> Enter the 1st number: ')
14+
number2=input('calc> Enter the 2nd number: ')
15+
process=input('calc> Enter the action you want to perform: ')
16+
collect=float(number1)+float(number2)
17+
Extraction=float(number1)-float(number2)
18+
Impact=float(number1)*float(number2)
19+
Divide=float(number1)/float(number2)
20+
Percentage=float(number1)%float(number2)
21+
if process=="collect":
22+
print("CONCLUSION=", format(collect))
23+
if process=="Extraction":
24+
print("CONCLUSION=", format(Extraction))
25+
if process=="Impact":
26+
print("CONCLUSION=", format(Impact))
27+
if process=="Divide":
28+
print("CONCLUSION=", format(Divide))
29+
if process=="Percentage":
30+
print("CONCLUSION=", format(Percentage))
31+
if command=="about":
32+
print(about)
33+
if command=="exit":
34+
exit()
35+
if command=="help":
36+
print("Python calc Help")
37+
print("\n Command: calc , about , help , exit")

EN/note.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
NOTE: You can change and use the codes as you wish. The codes are open source.
2+
NOTE2: The original version of the codes was written by LinuxUsersLinuxMint.
3+
GITHUB: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint

INSTALL/EN/calc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
5+
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
6+
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
7+
8+
command=input('calc> ')
9+
about= "Python Calcutator CLI(Command Line Interface) LICENCE=GPL"
10+
if command=="calc":
11+
print("calc> Transactions You Can Enter: ")
12+
print("collect\nExtraction\n\Impact\nDivide\nPercentage\nabout")
13+
number1=input('calc> Enter the 1st number: ')
14+
number2=input('calc> Enter the 2nd number: ')
15+
process=input('calc> Enter the action you want to perform: ')
16+
collect=float(number1)+float(number2)
17+
Extraction=float(number1)-float(number2)
18+
Impact=float(number1)*float(number2)
19+
Divide=float(number1)/float(number2)
20+
Percentage=float(number1)%float(number2)
21+
if process=="collect":
22+
print("SONUC=", format(collect))
23+
if process=="Extraction":
24+
print("SONUC=", format(Extraction))
25+
if process=="Impact":
26+
print("SONUC=", format(Impact))
27+
if process=="Divide":
28+
print("SONUC=", format(Divide))
29+
if process=="Percentage":
30+
print("SONUC=", format(Percentage))
31+
if command=="about":
32+
print(about)
33+
if command=="exit":
34+
exit()
35+
if command=="help":
36+
print("Python calc Help")
37+
print("\n Command: calc , about , help , exit")

INSTALL/TR/calc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
5+
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
6+
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
7+
8+
command=input('calc> ')
9+
about= "Python Hesap Makinesi CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL"
10+
if command=="calc":
11+
print("calc> Girebileceğiniz işlemler: ")
12+
print("top\ncık\n\carp\nbol\nyuzde\nabout")
13+
sayi1=input('calc> 1.sayiyi giriniz: ')
14+
sayi2=input('calc> 2.sayiyi giriniz: ')
15+
islem=input('calc> Gerçekleştirmek istediğiniz işlemi giriniz: ')
16+
top=float(sayi1)+float(sayi2)
17+
cık=float(sayi1)-float(sayi2)
18+
carp=float(sayi1)*float(sayi2)
19+
bol=float(sayi1)/float(sayi2)
20+
yuzde=float(sayi1)%float(sayi2)
21+
if islem=="top":
22+
print("SONUC=", format(top))
23+
if islem=="cık":
24+
print("SONUC=", format(cık))
25+
if islem=="carp":
26+
print("SONUC=", format(carp))
27+
if islem=="bol":
28+
print("SONUC=", format(bol))
29+
if islem=="yuzde":
30+
print("SONUC=", format(yuzde))
31+
if command=="about":
32+
print(about)
33+
if command=="exit":
34+
exit()
35+
if command=="help":
36+
print("Python calc Help")
37+
print("\n Command: calc , about , help , exit")

0 commit comments

Comments
 (0)