File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ create strings by simply writing some text in quotes.
9999>> >
100100```
101101
102- String's can also be written using "double quotes" instead of 'single quotes'.
103- This is useful when the string needs to contain single quotes.
102+ Strings can also be written with "double quotes" instead of 'single
103+ quotes'. This is useful when we need to put quotes inside the string .
104104
105105``` python
106106>> > " hello there"
@@ -183,6 +183,15 @@ and `)` also work the same way.
183183>> >
184184```
185185
186+ You can also leave out spaces to show what's calculated first. Python
187+ ignores it, but our code will be easier to read for people.
188+
189+ ``` python
190+ >> > 1 + 2 * 3 # now it looks like 2*3 is calculated first
191+ 7
192+ >> >
193+ ```
194+
186195Python also supports many other kinds of calculations, but most of the
187196time you don't need them. Actually you don't need even these
188197calculations most of the time, but these calculations are probably
You can’t perform that action at this time.
0 commit comments