FORMAT method in Python
This is the older method to write f "string"
num = 44
name = "Ronaldo"
career = "10 years"
print("The player {} whose assigned number is {} is playing football since {}".format(name, num, career))
This is the older method to write f "string"
Comments
Post a Comment
Write something to CodeWithAbdur!