Help with a code. Two similar codes but different outputs

Also this will help you colour format your code.

3 Likes