paint-brush
1 Minute Read #17 -strings in Python*by@sltrask
3,469 reads
3,469 reads

1 Minute Read #17 -strings in Python*

by Mr Trask2mDecember 4th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How long is a piece of string? If it is as long as the many ways to manipulate strings in Python, then it is mighty long indeed. Python 3.6, released in 2016, introduced a whole new way to format strings. Known as ‘formatted-string literals’, they are a much more efficient than anything that preceded them. For example below is a standard way of handling strings using&nbsp;<strong>.format</strong>&nbsp;:
featured image - 1 Minute Read #17 -strings in Python*
Mr Trask HackerNoon profile picture
Mr Trask

Mr Trask

@sltrask

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite