@BroCodez

# format specifiers = {:flags} format a value based on what flags are inserted

# .(number)f = round to that many decimal places
# :(number) = allocate that many spaces
# :0(number) = allocate and zero pad that many spaces
# :< = left justify
# :> = right justify
# :^ = center align
# :+ = use a plus sign to indicate positive value
# := = place sign to leftmost position
# :  = insert a space before positive numbers
# :, = comma separator
# :% = percentage format

price1 = 3.14159
price2 = -987.65
price3 = 12.34
print(f"price1 is: ${price1:}")
print(f"price2 is: ${price2:}")
print(f"price3 is: ${price3:}")

@gayan9121

Hands down, the best tutorial channel ever!

@Yun_InfiniteCloud

You literally saved me at 3 am in the morning from something I have been working on for 6+ hours, thank you so much 😭😭😭
I guess I hadn’t fully understood how the justifies worked but your explanation was so clear

@beepbeepgamer1305

I only knew formatting in string, using curly braces and after the string value, type .format(val1,val2...). Depending on the no. Of curly braces you use inside the string, you need to specify that no of values in the end. You also have to insert the values in which order you have specified inside the string.

@İnformationTechnologies-f9d

The most important point has been overlooked  If we used all the signs I wonder what order we could follow

@nicomarti5956

most helpful video ive seen in a while, got my gcse in coding (britsh SAT type thing) and this was nuts helpful

@ZereayM

These videos have been so useful, I love you from the bottom of my heart bro very educational, thank you.

@icantthinkofaname5558

Hello bro! You are a legend thank you for your free tutorials! School is not capable of teaching me programming :(

@gdhammr8113

Thank you so much for this video! My professor showed us a different way to do it, but it was more complicated than this. Thank you!

@eyalsilbershtein5765

Brooo that's crazy! I didn't know about this at all! Thanks

@hadialhassan5078

these are amazing to complete one's knowledge about python!

@adonisbennett9202

Thank you. no one made it so simple.

@T_ootie_x_P_atootie

best teacher, thanks for the video!

@yashkunwar2604

efficiently explined :)

@AlexanderCortes210486

Bro you are awesome 👏..!

@Lit35

the more i watch and do it becomes harder, i barely understood the previous one. im gonna try not giving up

@igorbucenko6024

Bro, thanks. I was confused very much about this topic

@zooeymoments8516

Very helpful..Thanks.