Tom Harrison
Dec 29, 2023

--

Values in curly braces will be expanded using the str() function, but for fancier output you run functions, like print(f"Hello, my name is {name.upper()} and when I am twice as old I'll be {age*2} years old.")

--

--

Tom Harrison

30 Years of Developing Software, 20 Years of Being a Parent, 10 Years of Being Old. (Effective: 2020)