print 'My Name is : %s %s\nI am %d years old' %('santosh','padhi',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 station'.format(x=20, y='Rajdanga') |
I stay at 20 Rajdanga gold park
It is 20 km distance from railway station |
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.