Formatted Strings
Option 1: %-format
>>> name = "Jugal"
>>> "Hey there %s!" % name
'Hey there Jugal!'Option 2: str.format()
>>> name = "Jugal"
>>> "Hey there {0}!".format(name)
'Hey there Jugal!'Option 3: f-strings
>>> name = "Jugal"
>>> f"Hey there {name}!"
'Hey there Jugal!'Last updated