For Lesson 6, when I indent def spam (): in the whitespace tutorial, the code still works, why?
I started working through python again starting all over after I got stuck 23% (haha) For lesson 6, the result is:
But how does it come from print spam ( ) to those 2 results "12" and "0" ?
Doing a google search
== discussions / opinions ==
python why does python give a none site:stackoverflow.com
Thank you ! I'm on my way to have a look at it.
I enter this on PyCharm and it does not even work, why is that?
Maybe Pycharm uses a different Python? Python 3 vs Python 2.7.3?
Why not teach in updated versions?
Haha.....I think it takes time to update..I'm not sure if they are updating yet. It's just minor syntax things for what I see now (like different print statement syntax).
Just saying, you want to stay on top of things. Lol