Here are the links of the two codes:
They are basically the same. But I can’t figure out what’s wrong with it.
One is producing an IndentationError and the other one is running perfectly.
Please help me figure it out since I am a noob python programmer and thus, not so good at python.