cmd+k|ctrl+k
cmd+k
ctrl+k
Navigation
Browse public code snippets.
Contact us about glot.io.
Read the privacy policy.
Manage snippets in your account.
Open your account settings.
Languages
Create a new Python snippet.
Create a new TypeScript snippet.
Create a new C snippet.
Create a new Rust snippet.
Create a new Java snippet.
Python
public
fenghestudio
2019-11-24T05:16:17Z
print ("PI is %(p).2f" % {'p':3.1415926, 'name':'mike'}) print ("PI is %(p)f" % {'p':3.1415926})