Skip to content

Commit ba599de

Browse files
authored
Create 02str_format.py
1 parent 5fb829c commit ba599de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

02str_format.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
age = 38
2+
name = 'Murphy Wan'
3+
print('{0} is {1} yeaers old'.format(name, age))
4+
print('why is {0} playing with that python?'.format(name))

0 commit comments

Comments
 (0)