diff options
author | Geoff Liu <cangming.liu@gmail.com> | 2014-11-11 17:42:28 -0800 |
---|---|---|
committer | Geoff Liu <cangming.liu@gmail.com> | 2014-11-11 17:42:28 -0800 |
commit | 1761ec868a2aedc1d7ed6bc3d4879c0662050923 (patch) | |
tree | 8a579b87524d0be9f0ed116731a6d90768ced393 /python.html.markdown | |
parent | e784f52d33475b0cba059a0c07ad01b0e63578a9 (diff) | |
parent | ad951f2615175b917b7410e667ef91d119468c5a (diff) |
Merge
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python.html.markdown b/python.html.markdown index ba236fb3..f7b0082c 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -7,21 +7,21 @@ contributors: filename: learnpython.py --- -Python was created by Guido Van Rossum in the early 90's. It is now one of the most popular +Python was created by Guido Van Rossum in the early 90s. It is now one of the most popular languages in existence. I fell in love with Python for its syntactic clarity. It's basically executable pseudocode. Feedback would be highly appreciated! You can reach me at [@louiedinh](http://twitter.com/louiedinh) or louiedinh [at] [google's email service] Note: This article applies to Python 2.7 specifically, but should be applicable -to Python 2.x. Look for another tour of Python 3 soon! +to Python 2.x. For Python 3.x, take a look at the Python 3 tutorial. ```python # Single line comments start with a number symbol. """ Multiline strings can be written - using three "'s, and are often used + using three "s, and are often used as comments """ @@ -55,7 +55,7 @@ to Python 2.x. Look for another tour of Python 3 soon! # Modulo operation 7 % 3 # => 1 -# Exponentiation (x to the y'th power) +# Exponentiation (x to the yth power) 2**4 # => 16 # Enforce precedence with parentheses |