Skip to content

Commit 3785e14

Browse files
committed
CHORE Code clean up and refactoring
1 parent b97d983 commit 3785e14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def fast_fib(n: int, cache: {int: int}) -> int:
4646

4747

4848
def is_between_zero_and_one(x: float, y: float) -> bool:
49-
"""Returns true if the floats x and y exist between 0 and 1 false otherwise"""
49+
"""Returns true if the floats x and y exist between 0 and 1, false otherwise"""
5050
return (0 < x < 1) and (0 < y < 1)
5151

5252

@@ -102,7 +102,7 @@ def print_int_array(the_array: [int]) -> None:
102102

103103

104104
def matrix_transposition(the_matrix: [[int]]) -> [[int]]:
105-
"""Returns the transposition of a matrix"""
105+
"""Returns the transpose of a matrix"""
106106
rows: int = len(the_matrix)
107107
cols: int = len(the_matrix[0]) # the number of columns remain constant
108108

0 commit comments

Comments
 (0)