Hello,
numbers represent position of the variable in format() tuple. With using f strings, instead of numbers you could also enter variable names. There is a nice page on the subject on Python docs page. Here are examples for a quick glance.
numbers represent position of the variable in format() tuple. With using f strings, instead of numbers you could also enter variable names. There is a nice page on the subject on Python docs page. Here are examples for a quick glance.