#assign a value to a variable:
types_of_people = 10
# make a string using variable name:
X = f “there are {types_of_people} types of people.”
Output:
There are 10 types of people
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter