Hello. I am having a lot of problems solving this question in the python basics section of inductive university. I was wanting to see if anyone could help me out.
Thank you,
Hello. I am having a lot of problems solving this question in the python basics section of inductive university. I was wanting to see if anyone could help me out.
Thank you,
W3 schools (and others) have hundreds of tutorials about python that you should read through. This one has an example that is very similar to the one you are looking for:
I would read through all the basic tutorials and try to write some python code to practice. The answer to these questions will become much clearer with a little bit of experience (or perhaps watching the video).
If you executed your code in the order shown in your post what would happen? (This is really very basic and I wouldn't expect a student to have to look up the manual to find the correct syntax.)
Also would be nice if the answers supported indentation (or maybe I'm asking for too much).