Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29012c9 + 9babf90 commit 65093a5Copy full SHA for 65093a5
reference.py
@@ -307,7 +307,7 @@
307
'raining {arg1} and {arg2}'.format(arg1='cats', arg2='dogs') # named arguments
308
309
# string formatting
310
-# more examples: https://mkaz.tech/python-string-format.html
+# more examples: https://mkaz.blog/code/python-string-format-cookbook/
311
'pi is {:.2f}'.format(3.14159) # returns 'pi is 3.14'
312
313
# normal strings versus raw strings
0 commit comments