Skip to content

Commit 99d7dba

Browse files
authored
Create ch05_str_format.py
1 parent cc5a1ef commit 99d7dba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ch05_str_format.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
str_format = '{name} wrote {book}'.format(name = 'Murphy Wan', book = r'A self-drving car with python')
2+
print(str_format)

0 commit comments

Comments
 (0)