Skip to content

Commit 82ffd1e

Browse files
committed
python --> Python # it is a brand name, not a snake
1 parent 2974720 commit 82ffd1e

23 files changed

+23
-23
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ wheels/
2626
MANIFEST
2727

2828
# PyInstaller
29-
# Usually these files are written by a python script from a template
29+
# Usually these files are written by a Python script from a template
3030
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3131
*.manifest
3232
*.spec

data_structures/queue/queue_on_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Queue represented by a python list"""
1+
"""Queue represented by a Python list"""
22

33

44
class Queue:

digital_image_processing/change_contrast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Changing contrast with PIL
33
44
This algorithm is used in
5-
https://noivce.pythonanywhere.com/ python web app.
5+
https://noivce.pythonanywhere.com/ Python web app.
66
77
python/black: True
88
flake8 : True

dynamic_programming/bitmask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
This is a python implementation for questions involving task assignments between people.
3+
This is a Python implementation for questions involving task assignments between people.
44
Here Bitmasking and DP are used for solving this.
55
66
Question :-

fuzzy_logic/fuzzy_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
if __name__ == "__main__":
14-
# Create universe of discourse in python using linspace ()
14+
# Create universe of discourse in Python using linspace ()
1515
X = np.linspace(start=0, stop=75, num=75, endpoint=True, retstep=False)
1616

1717
# Create two fuzzy sets by defining any membership function (trapmf(), gbellmf(),gaussmf(), etc).

other/magicdiamondpattern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python program for generating diamond pattern in python 3.7+
1+
# Python program for generating diamond pattern in Python 3.7+
22

33
# Function to print upper half of diamond (pyramid)
44
def floyd(n):

other/primelib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
@author: Christian Bender
55
6-
This python library contains some useful functions to deal with
6+
This Python library contains some useful functions to deal with
77
prime numbers and whole numbers.
88
99
Overview:

searches/binary_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of binary search algorithms
2+
This is pure Python implementation of binary search algorithms
33
44
For doctests run following command:
55
python -m doctest -v binary_search.py

searches/interpolation_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of interpolation search algorithm
2+
This is pure Python implementation of interpolation search algorithm
33
"""
44

55

searches/linear_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of linear search algorithm
2+
This is pure Python implementation of linear search algorithm
33
44
For doctests run following command:
55
python -m doctest -v linear_search.py

searches/sentinel_linear_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of sentinel linear search algorithm
2+
This is pure Python implementation of sentinel linear search algorithm
33
44
For doctests run following command:
55
python -m doctest -v sentinel_linear_search.py

searches/tabu_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of Tabu search algorithm for a Travelling Salesman Problem, that the distances
2+
This is pure Python implementation of Tabu search algorithm for a Travelling Salesman Problem, that the distances
33
between the cities are symmetric (the distance between city 'a' and city 'b' is the same between city 'b' and city 'a').
44
The TSP can be represented into a graph. The cities are represented by nodes and the distance between them is
55
represented by the weight of the ark between the nodes.

sorts/bogo_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the bogosort algorithm
2+
This is a pure Python implementation of the bogosort algorithm
33
For doctests run following command:
44
python -m doctest -v bogo_sort.py
55
or

sorts/counting_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of counting sort algorithm
2+
This is pure Python implementation of counting sort algorithm
33
For doctests run following command:
44
python -m doctest -v counting_sort.py
55
or

sorts/heap_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the heap sort algorithm.
2+
This is a pure Python implementation of the heap sort algorithm.
33
44
For doctests run following command:
55
python -m doctest -v heap_sort.py

sorts/insertion_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the insertion sort algorithm
2+
This is a pure Python implementation of the insertion sort algorithm
33
44
For doctests run following command:
55
python -m doctest -v insertion_sort.py

sorts/merge_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the merge sort algorithm
2+
This is a pure Python implementation of the merge sort algorithm
33
44
For doctests run following command:
55
python -m doctest -v merge_sort.py

sorts/pancake_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the pancake sort algorithm
2+
This is a pure Python implementation of the pancake sort algorithm
33
For doctests run following command:
44
python3 -m doctest -v pancake_sort.py
55
or

sorts/quick_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the quick sort algorithm
2+
This is a pure Python implementation of the quick sort algorithm
33
44
For doctests run following command:
55
python -m doctest -v quick_sort.py

sorts/selection_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the selection sort algorithm
2+
This is a pure Python implementation of the selection sort algorithm
33
44
For doctests run following command:
55
python -m doctest -v selection_sort.py

sorts/shell_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is a pure python implementation of the shell sort algorithm
2+
This is a pure Python implementation of the shell sort algorithm
33
44
For doctests run following command:
55
python -m doctest -v shell_sort.py

sorts/unknown_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Python implementation of a sort algorithm.
33
Best Case Scenario : O(n)
4-
Worst Case Scenario : O(n^2) because native python functions:min, max and remove are already O(n)
4+
Worst Case Scenario : O(n^2) because native Python functions:min, max and remove are already O(n)
55
"""
66

77

traversals/binary_tree_traversals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This is pure python implementation of tree traversal algorithms
2+
This is pure Python implementation of tree traversal algorithms
33
"""
44
import queue
55
from typing import List

0 commit comments

Comments
 (0)