Show Menu
Cheatography

python Toutorial Cheat Sheet by

Print Formatting

print 'My Name is : %s %s\nI am %d years old' %('san­tos­h',­'pa­dhi­',39)
My Name is : santosh padhi
I am 39 years old
print 'I stay at {x} {y} gold park\nIt is {x} km distance from railway statio­n'.f­or­mat­(x=20, y='Raj­danga')
I stay at 20 Rajdanga gold park
It is 20 km distance from railway station
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

            Python 3 Cheat Sheet by Finxter