String Formatting
using f-string f
f-string allows us to include expressions in strings.
name = "Jane"
print(f"Hello {name}") # outputs: Hello Jane
using str.format()
method
format() string method helps in formatting strings with placholders
# using the above variable "name"
print("Hello {}".format(name))
using percentage formatting %
#using the above variable "name"
print("Hello %s " % (name))