Skip to content

Commit c0d60d6

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] clean code: variable naming
1 parent 4a6b55e commit c0d60d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hackerrank/interview_preparation_kit/sorting/ctci_comparator_sorting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ def __repr__(self) -> str:
1717
# Given code
1818
return ''
1919

20-
def comparator(self, b: Player) -> int:
20+
def comparator(self, b_player: Player) -> int:
2121
# Given code
22-
return 0 * b.score
22+
return 0 * b_player.score
2323

2424
# End Given code
2525

0 commit comments

Comments
 (0)