The new things I had learn while learning python #1 - print(f"Hellow {first_name}")



Means: Show on the screen — Hello + your name.


The f means:  “Hey Python, please put the name here inside the {}.”

The f itself is not a data type. It’s just a special mark that tells Python:
“Hey, this is a formatted string — please put the values of variables inside the {} right here.”

formatted string = A formatted string is just a string (text) where you can put variables or values inside it easily — instead of writing separate parts and joining them. like 




Comments

Popular posts from this blog