Skip to content

Commit eab10aa

Browse files
Add files via upload
1 parent f0a82df commit eab10aa

File tree

5 files changed

+31
-11
lines changed

5 files changed

+31
-11
lines changed

EN/calc.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
#!/usr/bin/python3
2-
from inputden import *
32
"Copyright© 2023 LinuxUsersLinuxMint"
43
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
54
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
65
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
76
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
87

8+
command=input('calc> ')
9+
about="Python Calcutator CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
10+
911
if command=="calc":
1012
print("calc> Transactions You Can Enter: ")
1113
print("collect\nExtraction\n\Impact\nDivide\nPercentage\nabout")
12-
number1 , number2 , process
14+
number1=input('{0} Enter The 1st number: '. format(command))
15+
number2=input('{0} Enter The 2st number: '. format(command))
16+
process=input('{0} Enter the Transaction You Want to Perform: '. format(command))
17+
addition=float(number1)+float(number2)
18+
subraction=float(number1)-float(number2)
19+
multiplication=float(number1)*float(number2)
20+
division=float(number1)/float(number2)
21+
Percentage=float(number1)%float(number2)
1322
if process=="collect":
1423
print("{0} + {1} = {2}". format(number1,number2,addition))
1524
elif process=="Extraction":
@@ -34,7 +43,7 @@
3443
elif command=="web-site":
3544
print("linuxuserslinuxmint.github.io")
3645
elif command=="ver":
37-
print("Version: 0.1.7 (Last Updated September 8 , 2023 , 18:08)")
46+
print("Version: 0.2 (Last Updated September 17 , 2023 , 14:43)")
3847
elif command=="licence":
3948
print("This Software is protected under the GPL2 license")
4049
else:

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
* Calculate with "calc> _" interface
77
* A calculator that is constantly updated and aimed at improvement
88

9-
Updated 8 September , 2023 , 18:08:
9+
Updated 17 September , 2023 , 14:43:
1010

11-
* inputdtr / inputden module added
12-
NOTE: This is a new process and you should report any unexpected Errors that may be observed.
13-
NOTE2: Report errors to the report.txt file.
11+
* inputdtr / inputden module removed
12+
* The program can now be run as .exe (Windows/Linux)

TR/calc.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
#!/usr/bin/python3
2-
from inputdtr import *
32
"Copyright© 2023 LinuxUsersLinuxMint"
43
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
54
"Python Calcutator All Rights Reserved under the GPL(General Public License)."
65
"Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
76
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
87

8+
command=input('calc> ')
9+
about="Python Hesap Makinesi CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
910
if command=="calc":
1011
print("calc> Girebileceğiniz işlemler: ")
1112
print("top\ncık\n\carp\nbol\nyuzde\nabout")
12-
sayi1 , sayi2 , islem
13+
sayi1=input('{0} 1. sayiyi giriniz: '. format(command))
14+
sayi2=input('{0} 2. sayiyi giriniz: '. format(command))
15+
islem=input('{0} Gerçekleştirmek İstediğiniz İşlemi Giriniz: '. format(command))
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)
1321
if islem=="top":
1422
print("{0} + {1} = {2}". format(sayi1,sayi2,top))
1523
elif islem=="cık":
@@ -34,7 +42,7 @@
3442
elif command=="web-site":
3543
print("linuxuserslinuxmint.github.io")
3644
elif command=="ver":
37-
print("Sürüm: 0.1.7 (Son Güncellenme Tarihi 8 Eylül , 2023 , 18:08)")
45+
print("Sürüm: 0.2 (Son Güncellenme Tarihi 17 Eylül , 2023 , 14:43)")
3846
elif command=="licence":
3947
print("This Software is protected under the GPL2 license")
4048
else:

install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/bash
22

3+
sudo chmod a+x INSTALL/TR/calc
4+
sudo chmod a+x INSTALL/TR/inputdtr
35
sudo cp INSTALL/TR/calc /usr/bin/
6+
sudo cp INSTALL/TR/inputdtr /usr/bin/
47

5-
# Changes will be made to the uninstall files for Linux.
8+
# Changes will be made to the uninstall files for Linux.

uninstall.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/bash
22

33
sudo rm rf - /usr/bin/calc
4+
rm rf - /usr/bin/inputdtr.py
45

56
# Changes will be made to the uninstall files for Linux.

0 commit comments

Comments
 (0)