Quick Intro to F-Strings in Python for String Formatting

preview_player
Показать описание
This video demonstrates how to use f-strings in Python for efficient string formatting.

Build Better Apps, Faster In Only 4 Minutes👇🏼
Рекомендации по теме
Комментарии
Автор

This is such a great tutorial for beginners and I hoped I would find more goodies, but I went through with all your videos and all of them are quite advanced. If you consider doing videos for Newbies would be super great. Thank you

MM-oqlb
Автор

Great video advice with F Strings in Python 3.6 and up.

daniel_englishu
Автор

You are a genius and a great professor! Thanks a lot!

multitaskprueba
Автор

Thanks for the tutorial, you've helped me make my code just a little bit neater :)

sirsamiboi
Автор

Can you format floats to control the number of digits that appear within an f string?

yonatonheit
Автор

Is this upgrade for speed or just code readibility?

HourBule
Автор

I don't get the fancy f letter and I use vscode but I always get command prompts when I open it is that to do with it?

lewparn
Автор

How do you use the f string with end and sep in a loop.

jual
Автор

what about: names = [ws[f"A{i}"].value for i in score_list] what is the ws?

WritingTheActs
Автор

You make Your job just great! I'm very happy to learn from You! Best regards

naimname
Автор

How does it work when you want to add 2 variables inside the F string with text inbetween? Like with formatting "variable a = {} and variable b = {}".format(a, b) but for F-strings?

vog
Автор

Hi, what would you use if ou need to use a variable within regex string? re.findall(r"'this {word} here", source) and what if it's (like the Yanaton Heit message says) in format of float that you want with 2 decimal numbers.

songokussjcz
Автор

Everything turns green as in a string, even the accolades. What am I doing wrong here? I am using Pyhton 3.8 print(f'My name is {name}')

reDrawn
Автор

For a while i thought he had said anthony pervert..

vit
Автор

Can't you just use:
name = 'Lee'
print('My name is', name)

pakapeta