Skip to content

Commit f01aba4

Browse files
Update Basic_Maths
Bug Fix Signed-off-by: Umut <[email protected]>
1 parent 16c72d5 commit f01aba4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Basic_Maths.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
PYTHON_LIB_NAME="Basic_Maths"
1111
PYTHON_LIB_LICENCE="GPL2"
12-
PYTHON_LIB_VER="2.3"
12+
PYTHON_LIB_VER="2.5"
1313
PYTHON_LIB_AUTHOR="LinuxUsersLinuxMint"
1414

1515
# Math functions
@@ -40,7 +40,7 @@ def Multiplication(x,y,ResultDialog):
4040
print("{0} {1} {2} * {3} = {4}". format(select_func,ResultDialog,x,y,result))
4141

4242
def Division(x,y,ResultDialog):
43-
if y=0:
43+
if y==0:
4444
print("The second number cannot be zero in division!")
4545
if y>0:
4646
result=x/y
@@ -79,4 +79,4 @@ def LibAbout():
7979
# 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.
8080

8181
# EN (English):
82-
# 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.
82+
# 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 commit comments

Comments
 (0)