8000 2024/05/20 - Updating Demo python files · rphadtare/python_by_examples@43115de · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 43115de

Browse files
committed
2024/05/20 - Updating Demo python files
1 parent 6f5a042 commit 43115de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced/PythonDemo_03_Numpy_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def filteringBasedOnBooleanValues():
205205
arr = np.array([1, 10, 3, 14])
206206
list = []
207207
for i in arr:
208-
if(i % 2 == 0):
208+
if i % 2 == 0:
209209
list.append(True)
210210
else:
211211
list.append(False)

0 commit comments

Comments
 (0)
0