After learning about Functions in Chapter 1, I have moved on to Chapter 2, where, in Page 39, I am hoping to create a nesster.py file and CALL it in IDLE, rather than copy paste the text.
I seem to have difficulty understanding this step:
"Rather than typing your function’s code into IDLE’s prompt, bring the nester.py file into IDLE’s edit window,
and then press F5 to run the module’s code:"
I used the File-> Open from my IDLE and located my .py file.
This opened my Function in a new IDLE window. From the new Window, when I hit on Run -> Run Module, I see a "Expected and Indented Block" error message..!
Though I am using different names for my .py files and also different variable names inside my function, I am fairly confident that I used the right indentation and have no where else to go.
Request you all to please look into the attachment and suggest what changes to make.
Thank you so much in advance!!











