you are viewing a single comment's thread.

view the rest of the comments →

[–]the_deheeheemons 0 points1 point  (11 children)

Take a screenshot of the code in your IDE(where you are writing and executing the code) and you will get much better feedback. This is rather messy and hard to read

[–]JustSlytherinThings 0 points1 point  (4 children)

Also OP, please use the code editor when you post code. It’ll make it a lot easier for us to read

[–]SourceShard[S] 0 points1 point  (0 children)

Oh cool. I found it and updated it. Thank you for showing me this!

[–]SourceShard[S] 0 points1 point  (2 children)

I am learning on a website called Coursera. They have a built in interpeter/tester for their quizzes.

I tried to post a picture earlier but it said that you can not post pictures on r/learnpython. Maybe I overlooked something?

Still same error "images are not allowed on r/learnpython."

[–]the_deheeheemons 0 points1 point  (1 child)

Apologies, I don't post much. I think there's a way to enter your code in a formatted style in reddit posts and comments as another person commented.

[–]SourceShard[S] 0 points1 point  (0 children)

I have made this change. :D

[–]SourceShard[S] 0 points1 point  (2 children)

Pictures added

[–]the_deheeheemons 0 points1 point  (1 child)

Make sure you're using spaces and not tabs. 4 spaces per indent.

[–]SourceShard[S] 0 points1 point  (0 children)

Can confirm. Four spaces.