string formationg code example
Example 1: python format strings
name = "Rick"
age = 42
print(f"My name is {name} and I am {age} years old")
Example 2: python format string with list
>>> print('Skillset: {}'.format(*langs))
Skillset: C
name = "Rick"
age = 42
print(f"My name is {name} and I am {age} years old")
>>> print('Skillset: {}'.format(*langs))
Skillset: C