Introduction to f-strings. And why you should start using them… | by Magdalena Konkiewicz | Nov, 2020

[ad_1]


def hello_world():
print("Hello, world!")
def hello_world(name):
print("Hello, " + name + "!")
def hello_world(name):
print("Hello, {}!".format(name))
def hello_world(name):
print(f"Hello, {name}!")

[ad_2]




Source link

Write a comment