File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/python3
2+ "Copyright© 2023 LinuxUsersLinuxMint"
3+ "Basic_Maths Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+ "Basic_Maths 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+ def addition (x ,y ):
9+ x = x
10+ y = y
11+ global result
12+ result = x + y
13+ print ("result: {0} + {1} = {2}" . format (x ,y ,result ))
14+ def Extraction (x ,y ):
15+ x = x
16+ y = y
17+ global result
18+ result = x - y
19+ print ("result: {0} - {1} = {2}" . format (x ,y ,result ))
20+ def Multiplication (x ,y ):
21+ x = x
22+ y = y
23+ global result
24+ result = x * y
25+ print ("result: {0} * {1} = {2}" . format (x ,y ,result ))
26+ def Division (x ,y ):
27+ x = x
28+ y = y
29+ global result
30+ result = x / y
31+ print ("result: {0} / {1} = {2}" . format (x ,y ,result ))
32+ def Percentage (x ,y ):
33+ x = x
34+ y = y
35+ global result
36+ result = x % y
37+ print ("result: {0} % {1} = {2}" . format (x ,y ,result ))
You can’t perform that action at this time.
0 commit comments