python f string not working code example
Example 1: not using f string in python
>>> "Hello, {}. You are {}.".format(name, age)
'Hello, Eric. You are 74.'
Example 2: not using f string in python
>>> "Hello, {1}. You are {0}.".format(age, name)
'Hello, Eric. You are 74.'