Skip to content

Commit

Permalink
Update Basic_Maths
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxUsersLinuxMint authored Apr 19, 2024
1 parent e522e4f commit 9fbbf77
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions Basic_Maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@

global result

PYTHON_LIB_NAME="Basic_Maths"
PYTHON_LIB_LICENCE="GPL2"
PYTHON_LIB_VER="2.0"
PYTHON_LIB_VER="2.1"
PYTHON_LIB_AUTHOR="LinuxUsersLinuxMint"

# Math functions

def addition(x,y,ResultDialog):
x=x
y=y
Expand Down Expand Up @@ -57,4 +60,19 @@ def TakingRoots(x,y,ResultDialog):
def SqaureRoot(x,ResultDialog):
x=x
result=x ** (1/2)
print("{0} {1} ** (1/2) = {2}". format(ResultDialog,x,result))
print("{0} {1} ** (1/2) = {2}". format(ResultDialog,x,result))


# Library functions

def LibAbout():
print("Python Library Name: {0}", format(PYTHON_LIB_NAME))
print("Python Library Version: {0}\n", format(PYTHON_LIB_VER))
print("Python Library Licence Name: {0}\n", format(PYTHON_LIB_LICENCE))
print("Python Library Author Name: {0}\n", format(PYTHON_LIB_AUTHOR))

# TR (Türkçe):
# NOT: "Kütüphane fonksiyonları" başlığı altındaki fonksiyonlar kullanımı isteğe bağlıdır ancak "Basic_Maths" kütüphanesini kullanan bir "Python" yazılımında kullanıcıya kullanılan kütüphane hakkında bilgi vermek amacıyla kullanılabilir.

# EN (English):
# NOTE: The functions under the "Library functions" heading are optional, but can be used in a "Python" software that uses the "Basic_Maths" library to provide information to the user about the library used.

0 comments on commit 9fbbf77

Please sign in to comment.