mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-21 22:00:59 +00:00
More apostrophe fixes
I hate to be that guy, but... I found a couple more.
This commit is contained in:
parent
0429c31d6d
commit
4d85f161d8
@ -21,7 +21,7 @@ to Python 2.x. For Python 3.x, take a look at the Python 3 tutorial.
|
|||||||
# Single line comments start with a number symbol.
|
# Single line comments start with a number symbol.
|
||||||
|
|
||||||
""" Multiline strings can be written
|
""" Multiline strings can be written
|
||||||
using three "'s, and are often used
|
using three "s, and are often used
|
||||||
as comments
|
as comments
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ to Python 2.x. For Python 3.x, take a look at the Python 3 tutorial.
|
|||||||
# Modulo operation
|
# Modulo operation
|
||||||
7 % 3 # => 1
|
7 % 3 # => 1
|
||||||
|
|
||||||
# Exponentiation (x to the y'th power)
|
# Exponentiation (x to the yth power)
|
||||||
2**4 # => 16
|
2**4 # => 16
|
||||||
|
|
||||||
# Enforce precedence with parentheses
|
# Enforce precedence with parentheses
|
||||||
|
Loading…
Reference in New Issue
Block a user