#replacement field {}
print ("The months with {0} days are {1},{2},{3},{4},{5},{6},{7}".format(31,'Jan','Mar','May','Jul','Aug','Oct','Dec'))
The {} brackets act as place holders for the replacement values.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.