+ 2

What are f strings used for and when?

I know f strings is a variable embeded inside a string eg (f" Hellow {code} ")

5th Jul 2019, 1:20 PM
Vusumuzi Mabena
Vusumuzi Mabena - avatar
3 Réponses
+ 3
@Thomas william wow! Thank you man,i wish i can be in an advance stage of coding,and code just like you,me i'm just a beginner and still on Sololearn's basics,thanks bro,i now see clearly what comments are,and how is the triple(""" """) string quotation is used for,thank you
6th Jul 2019, 8:21 AM
Vusumuzi Mabena
Vusumuzi Mabena - avatar
+ 3
Vusumuzi Mabena Triple string notations are used for multi-line comments (called DocStrings). They are used to explain what a function or segment of code does 🙃
6th Jul 2019, 8:27 AM
Trigger
Trigger - avatar