First thing I do when helping someone new to coding with debugging is format their code. 70% of the time, the bug becomes immediately obvious to me once everything is spaced where it should be

seen from United States
seen from United States

seen from Netherlands
seen from Singapore
seen from United States

seen from Netherlands
seen from United States

seen from Netherlands
seen from United States

seen from United States
seen from Portugal

seen from Netherlands
seen from United States

seen from Portugal
seen from United States

seen from Netherlands
seen from Yemen

seen from Canada
seen from United States

seen from United States
First thing I do when helping someone new to coding with debugging is format their code. 70% of the time, the bug becomes immediately obvious to me once everything is spaced where it should be