Zero experience python user needs help

Please read the pinned thread in order to understand how to make the code show up properly on the forum. In order for us to help you with the code, we need to be able to see it the same way it looks in your editor.

Just to make sure: you should use either an ordinary text editor like Notepad (or TextEdit, xed, gvim, whatever else you’re used to depending on your operating system…), or else an IDE (a program specially designed to organize the process of typing out and running the code, that can also give you some suggestions as you type, etc.). Do not use a word processor like Word or Wordpad (or LibreOffice etc.).

Also: please don’t tell people “it doesn’t work” - in order to understand a problem properly, we need to make sure we understand a) what you tried (not just the part where you typed the code, but also how you tried to make it run); b) what happened when you did that (what you can see happening), and c) how that is different from what you expected. If you get an error message, you should copy and paste a complete error message, and format it like the code.

2 Likes