Skip to content
Prev Previous commit
Next Next commit
Remove parenthesis from if statement
  • Loading branch information
peteryao7 committed Oct 8, 2020
commit 022fb765a00cbee78a6dd5a03c50c479a7e00098
2 changes: 1 addition & 1 deletion project_euler/problem_62/sol1.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def solution() -> int:
digits = get_digits(num)
freqs[digits].append(num)

if (len(freqs[digits]) == 5):
if len(freqs[digits]) == 5:
base = freqs[digits][0] ** 3
return base

Expand Down