Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fstring

# Python3 program introducing f-string
val = 'Geeks'
print(f"{val}for{val} is a portal for {val}.")
 
 
name = 'Tushar'
age = 23
print(f"Hello, My name is {name} and I'm {age} years old.")
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #fstring
ADD COMMENT
Topic
Name
5+5 =