F string literals and string formatting code example
Example 1: python f string
import random
name = input("What is your name? ")
value = int(input(f"Give random value, {name}: "))
multiplier = random.randint(3, 6)
print("Now multiplying your value...")
complete_value = multiplier * value
print(f"Your value is... {complete_value}")
Example 2: python f string
name = 'Psych4_3.8.3'
age = 23
job = 'programmer'
print("I am %s a %t of age %u", %(name, job, age))
print(f"I am {name} a {job} of age {age}")