lint fixes
This commit is contained in:
parent
33078e4500
commit
f0398d570a
1 changed files with 6 additions and 6 deletions
|
|
@ -82,10 +82,10 @@ def find_mode(x):
|
|||
n = len(x)
|
||||
|
||||
if n == 0: # If somehow there is a null array
|
||||
return 0;
|
||||
return 0
|
||||
|
||||
if n == 1: # In trivial case of a one element array
|
||||
return x[0]; # just return the element as the mode.
|
||||
return x[0] # just return the element as the mode.
|
||||
|
||||
max_count = 0
|
||||
mode = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue