[Solved] Expected indent error after def statement
You should make sure your indentation is uniform (always 4 spaces). Starting with if Submit == “yes”:, your lines have one extra space. This will be easier to do if you use a better IDE than IDLE, which will automatically highlight and label problems like this. Some good alternatives are Spyder (which is free), and … Read more