Skip to content Skip to sidebar Skip to footer
Showing posts with the label F String

Constructing An F-string By For-looping Through A List

I'd like to know how to go from this: mylist = [10, 20, 30] to this: 'Quantity 10, quantit… Read more Constructing An F-string By For-looping Through A List

Escaping Chars In F-string

I have run into the following issue with the f-string: >>> a='hello' # how to pri… Read more Escaping Chars In F-string