Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Print Variable Using the f-string in the print statement

# print statement using f-string
first_name = "Bing"
last_name = "Chandler"
age =25
print(f"The full name of the Employee is {last_name} {first_name} and the age is {age} ")
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #Python #Print #Variable #Using #print #statement
ADD COMMENT
Topic
Name
1+4 =