File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,11 +256,11 @@ our problem:
256256 >> >
257257 ```
258258
259- - `% s` - formatting, also known as printf - formatting and old - style
260- formatting. This has less features than `.format()` - formatting, but
261- ` ' Hello %s . ' % name` is shorter and faster to type than
262- ` ' Hello {} . ' .format(name)` . I like to use printf - formatting for simple
263- things and `.format` when I need more powerful features.
259+ - `% s` - formatting, also known as old - style formatting. This has less
260+ features than `.format()` - formatting, but ` ' Hello %s . ' % name` is
261+ shorter and faster to type than ` ' Hello {} . ' .format(name)` . I like
262+ to use ` % s` formatting for simple things and `.format` when I need
263+ more powerful features.
264264
265265 ```py
266266 >> > " Hello %s ." % name
@@ -425,6 +425,8 @@ ValueError: could not convert string to float: 'hello'
425425 print (message, " !!!" )
426426 ```
427427
428+ The answers are [here](answers.md# handy-stuff-strings).
429+
428430** *
429431
430432You may use this tutorial freely at your own risk. See
You can’t perform that action at this time.
0 commit comments