"Code should be properly indented and follow consistent spacing conventions."
Description
This PR fixes the indentation and spacing issues in the python/collatz/MaxSequence.py file. The code has been indented using 4 spaces for each level of indentation. Additionally, spaces have been added after commas and around operators for better readability.
Summary of Changes
Indented the code inside the collatz function and the findMaxCollatz function using 4 spaces.
Added a space after the comma in the result = (number, len) line.
Added spaces around the ==, //, and * operators for better readability.
Please review and merge this PR to ensure proper indentation and consistent spacing in the code.
PR Feedback (click)
I created this PR to address this rule:
"Code should be properly indented and follow consistent spacing conventions."
Description
This PR fixes the indentation and spacing issues in the
python/collatz/MaxSequence.py
file. The code has been indented using 4 spaces for each level of indentation. Additionally, spaces have been added after commas and around operators for better readability.Summary of Changes
collatz
function and thefindMaxCollatz
function using 4 spaces.result = (number, len)
line.==
,//
, and*
operators for better readability.Please review and merge this PR to ensure proper indentation and consistent spacing in the code.