1# Newer f-string format
2name = "Foo"
3age = 12
4print(f"Hello, My name is {name} and I'm {age} years old.")
5# output :
6# Hello, my name is Foo and I'm 12 years old.
1#TO know this execute and check
2username,password = "GOOGLE","google"
3#a. % first type
4print("User name=%s User password=%s"%(username,password))
5#b. {} second type
6print("User name={} User password={}".format(username,password
7#c. f third type
8print(f"User name={username} User password={password}")
9print(f"User name={username} \nUser password={password}"