Python f-Strings - Advanced String Formatting tutorial for beginners

  Рет қаралды 9,080

Dave Gray

Dave Gray

Күн бұрын

Пікірлер: 20
@ahmad-murery
@ahmad-murery Жыл бұрын
The string interpolation using f"string" way is very similar to the way dotnet do it, anyway, it uses the $ symbol instead of the F I think numbers will be automatically converted to strings inside a formatted string so no need to str() them Thanks Dave
@khalilbenmeziane8836
@khalilbenmeziane8836 Жыл бұрын
thank you dave
@NewsChannel-y4g
@NewsChannel-y4g 7 ай бұрын
Looking at the 8:30 could it be true to say that Dave is a player? If player in Dave: "playa gunna play"...Thanks for the video
@utinthein7274
@utinthein7274 Жыл бұрын
Thank you, Sir. I'm waiting.
@mohammadnabil6556
@mohammadnabil6556 Жыл бұрын
Thank you Dave ❤❤when will be the next video released?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
One per week.
@muzhaffarhaydar7928
@muzhaffarhaydar7928 4 ай бұрын
18:15 all i see is emojis 🤣. thanks btw dave
@lowcodehub
@lowcodehub Жыл бұрын
It's almost like template litterals in Javascript. Great tutorial btw
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Yes, it is and thanks!
@LeonelLopezBorbon
@LeonelLopezBorbon Жыл бұрын
person = "Dave" word = "amazing" message = " {name} is {quality} .".format(quality=word, name=person) print(message)
@DavidLouisson
@DavidLouisson 9 ай бұрын
print("Very clever and very true.") print("Just discovered Dave and his explanations are very clear.")
@utinthein7274
@utinthein7274 Жыл бұрын
Sir, in your python tutorial, Lesson 13 line number 33 and 34 print(' You chose ' + str(RPS(player)).replace("RPS.", '').title() + '.') print('Python chose ' + str(RPS(computer)).replace("RPS.", '').title() + '. ') In this line of code that where from come .title( ) method. You never explained previous tutorial. a little confusion. It start from tutorial 8 , rps2. I also asked this question in your discord channel.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
In lesson 4, Python Data Types, string methods are covered - but not every string method. I left a link in the references to look up more as stated here: kzbin.info/www/bejne/f3-qe5tveaqUeK8
@thesorus
@thesorus Жыл бұрын
I cry a little bit when I see a range from 1 to 11... lol.
@omarhashem818
@omarhashem818 3 ай бұрын
what 😂
@mioszkordaczuk5475
@mioszkordaczuk5475 Жыл бұрын
Hello Dave Create Video in Blog page thank you Dave
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Maybe you are asking for something not in Python? That is what this video is about. If you want a video in a blog page, view the final project in my Next.js video series. It was just published last Tuesday.
@mioszkordaczuk5475
@mioszkordaczuk5475 Жыл бұрын
@@DaveGrayTeachesCode but I would ask dave to create such a video I would like to learn also I use Virtual Studio Code how to do it in turn
@LeonelLopezBorbon
@LeonelLopezBorbon Жыл бұрын
@@DaveGrayTeachesCode why not in Django after Python Tutorial?
@igwekennedy3033
@igwekennedy3033 Жыл бұрын
Thanks dave
Python Modules for Beginners
18:03
Dave Gray
Рет қаралды 12 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Python Closures for Beginners | Python tutorial
19:32
Dave Gray
Рет қаралды 9 М.
F-strings In Python: Everything You Need To Know
23:29
ArjanCodes
Рет қаралды 50 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 336 М.
Recursion for Python Beginners with Recursive Function Examples
17:54
Python File Handling for Beginners
22:40
Dave Gray
Рет қаралды 23 М.
F-Strings Have A Lot of Format Modifiers You Don't Know
17:24
NeuralNine
Рет қаралды 11 М.
5 More Useful F-String Tricks In Python
9:38
Indently
Рет қаралды 53 М.