Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 1230009

Browse files
Add files via upload
1 parent 6e5a08c commit 1230009

21 files changed

+694
-25
lines changed

EN/calc.py

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/usr/bin/python3
2+
from inputden import *
3+
"Copyright© 2023 LinuxUsersLinuxMint"
4+
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
5+
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
6+
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
7+
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
8+
9+
if command=="calc":
10+
print("calc> Transactions You Can Enter: ")
11+
print("collect\nExtraction\n\Impact\nDivide\nPercentage\nabout")
12+
number1 , number2 , process
13+
if process=="collect":
14+
print("{0} + {1} = {2}". format(number1,number2,addition))
15+
elif process=="Extraction":
16+
print("{0} - {1} = {2}". format(number1,number2,subraction))
17+
elif process=="Impact":
18+
print("{0} * {1} = {2}". format(number1,number2,multiplication))
19+
elif process=="Divide":
20+
print("{0} / {1} = {2}". format(number1,number2,division))
21+
elif process=="Percentage":
22+
print("{0} % {1} = {2}". format(number1,number2,Percentage))
23+
else:
24+
print("Invalid Proccess!")
25+
if command=="about":
26+
print(about)
27+
elif command=="exit":
28+
exit()
29+
elif command=="help":
30+
print("Python calc Help")
31+
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
32+
elif command=="git-address":
33+
print("Github Link: https://github.com/LinuxUsersLinuxMint")
34+
elif command=="web-site":
35+
print("linuxuserslinuxmint.github.io")
36+
elif command=="ver":
37+
print("Version: 0.1.7 (Last Updated September 8 , 2023 , 18:08)")
38+
elif command=="licence":
39+
print("This Software is protected under the GPL2 license")
40+
else:
41+
print("Invalid Command!")

EN/inputden.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator-inputdtr Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator-inputdtr 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+
comtxt="calc> "
10+
about="Python Calcutator CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
11+
number1=input('{0} Enter The 1st number: '. format(comtxt))
12+
number2=input('{0} Enter The 2st number: '. format(comtxt))
13+
process=input('{0} Enter the Transaction You Want to Perform: '. format(comtxt))
14+
addition=float(number1)+float(number2)
15+
subraction=float(number1)-float(number2)
16+
multiplication=float(number1)*float(number2)
17+
division=float(number1)/float(number2)
18+
Percentage=float(number1)%float(number2)

EN/note.txt

+3
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

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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=GPL2"
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("{0} + {1} = {2}". format(number1,number2,collect))
23+
elif process=="Extraction":
24+
print("{0} - {1} = {2}". format(number1,number2,Extraction))
25+
elif process=="Impact":
26+
print("{0} * {1} = {2}". format(number1,number2,Impact))
27+
elif process=="Divide":
28+
print("{0} / {1} = {2}". format(number1,number2,Divide))
29+
elif process=="Percentage":
30+
print("{0} % {1} = {2}". format(number1,number2,Percentage))
31+
if command=="about":
32+
print(about)
33+
elif command=="exit":
34+
exit()
35+
elif command=="help":
36+
print("Python calc Help")
37+
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
38+
elif command=="git-address":
39+
print("Github Link: https://github.com/LinuxUsersLinuxMint")
40+
elif command=="web-site":
41+
print("linuxuserslinuxmint.github.io")
42+
elif command=="ver":
43+
print("Version: 0.1.5.5 (Last Updated September 6 , 2023 , 22:22)")
44+
elif command=="licence":
45+
print("This Software is protected under the GPL2 license")

INSTALL/EN/inputden.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator-inputdtr Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator-inputdtr 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+
comtxt="calc> "
10+
about="Python Calcutator CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
11+
number1=input('{0} Enter The 1st number: '. format(comtxt))
12+
number2=input('{0} Enter The 2st number: '. format(comtxt))
13+
process=input('{0} Enter the Transaction You Want to Perform: '. format(comtxt))
14+
addition=float(number1)+float(number2)
15+
subraction=float(number1)-float(number2)
16+
multiplication=float(number1)*float(number2)
17+
division=float(number1)/float(number2)
18+
Percentage=float(number1)%float(number2)

INSTALL/TR/calc

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/python3
2+
from inputdtr import *
3+
"Copyright© 2023 LinuxUsersLinuxMint"
4+
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
5+
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
6+
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
7+
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
8+
9+
about= "Python Hesap Makinesi CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
10+
if command=="calc":
11+
print("calc> Girebileceğiniz işlemler: ")
12+
print("top\ncık\n\carp\nbol\nyuzde\nabout")
13+
sayi1 , sayi2 , islem
14+
if islem=="top":
15+
print("{0} + {1} = {2}". format(sayi1,sayi2,top))
16+
elif islem=="cık":
17+
print("{0} - {1} = {2}". format(sayi1,sayi2,cık))
18+
elif islem=="carp":
19+
print("{0} * {1} = {2}". format(sayi1,sayi2,carp))
20+
elif islem=="bol":
21+
print("{0} / {1} = {2}". format(sayi1,sayi2,bol))
22+
elif islem=="yuzde":
23+
print("{0} % {1} = {2}". format(sayi1,sayi2,yuzde))
24+
else:
25+
print("Geçersiz İşlem")
26+
if command=="about":
27+
print(about)
28+
elif command=="exit":
29+
exit()
30+
elif command=="help":
31+
print("Python calc Help")
32+
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
33+
elif command=="git-address":
34+
print("Github Link: https://github.com/LinuxUsersLinuxMint")
35+
elif command=="web-site":
36+
print("linuxuserslinuxmint.github.io")
37+
elif command=="ver":
38+
print("Sürüm: 0.1.7 (Son Güncellenme Tarihi 8 Eylül , 2023 , 18:08)")
39+
elif command=="licence":
40+
print("This Software is protected under the GPL2 license")
41+
else:
42+
print("Geçersiz Komut")

INSTALL/TR/inputdtr.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator-inputdtr Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator-inputdtr 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+
comtxt="calc> "
10+
about="Python Hesap Makinesi CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
11+
sayi1=input('{0} 1. sayiyi giriniz: '. format(comtxt))
12+
sayi2=input('{0} 2. sayiyi giriniz: '. format(comtxt))
13+
islem=input('{0} Gerçekleştirmek İstediğiniz İşlemi Giriniz: '. format(comtxt))
14+
top=float(sayi1)+float(sayi2)
15+
cık=float(sayi1)-float(sayi2)
16+
carp=float(sayi1)*float(sayi2)
17+
bol=float(sayi1)/float(sayi2)
18+
yuzde=float(sayi1)%float(sayi2)

0 commit comments

Comments
 (0)