Thanks so much.
1. I am running moodle locally for a capstone project. Ran it on mac and windows.
2. yes i am using python 3
3. My template did not look like that. It was all on line number 1.
Code runner worked after I spaced out the template to 12 lines. Thank you so much Richard. You made my day.
I am presenting a demo of my project in a 16 hours.