Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

write str in a formal way in python

#write str in a formal way:
print("My name is {name}.I have a {small}.The name of my company is {company}.".format(name="Jim",small="Business",company="AppBuilder"))
#results: My name is Jim.I have a Business.The name of my company is AppBuilder.
 
PREVIOUS NEXT
Tagged: #write #str #formal #python
ADD COMMENT
Topic
Name
8+3 =