Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #using locals() with Dictionary string formatting
- def show_name(text):
- print "Your name: %(text)s"%locals()
- show_name("gauravssnl")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement