gh-pages
Commits on Jun 7, 2017
Commits on Jun 3, 2017
-
adding info on using range for repetition
Adding a section and example on using `range()` without having to use the iterable variable. Just to repeat an action some number of times.
-
simplifying language on syntax errors
Tried to simplify the language in the header. I also wanted to change this statement: "Won’t even try to run the program if it can’t be parsed" Python has to run the program up until that point to even see the error, but the script will shut down if the line of code can't be parsed. So this statement is very confusing. I also fussed with the wording to focus more on linguistic synonyms, which usually hits better with a librarian crowd.
-
shifting things around in the argument section
I shifted a few things around, adjusted wording, and added some clarifying statements in the arguments section.
-
short extra piece of info about more operators
Adding extra info about other operators, and affirming that trying them out and experimentation is key to understanding how they're used.
-
adding clarification about changing variable types
Adding short sentence of clarification to reinforce that variables will change types.
Commits on Jun 2, 2017
-
clarifying when the quotes don't appear
Quotes won't appear when using print(), but some users may find that they can see the quotes when they're doing the variable evaluation in a jupyter notebook or interpreter.
-
adjusting language on int vs float
"Integers are used to count, floats are used to measure" I think this isn't helpful for this context. I've also fussed over the wording a bit and adding some clarification about whole numbers being stored as floats.
-
adding recipe card analogy about function defs
The fact that a function can be defined but the code not actually run trips up many beginners. I'm adding an analogy that has worked in the past to clear that up. Also, it meshes well with the recipe analogy later on in this episode.
-
changing the text around iterable variable names
The original text is quite permissive in the suggestions it makes. These edits propose more conservative suggestions and reminders.
-
changing quotes to inline code
This header has references to "+" and "*" as operators when it wasn't meant to be a string. I'm proposing this is changed to inline code to match other styling and reduce confusion.