formula
is three element tuple. asterisk "unpack" the tuple into separate elements, thus providing the necessary number of arguments to .format()
Note you can use two asterisk
**
to "unpack" mapping like dictionaryperson = {'name':'John', 'age':17} print('{name} is {age} years old'.format(**person))
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs