I've just finished typing up some code for a game I'm working on, however I need to use the "format" function to make the output align properly, I tried using it on this bit of code for example:
 print("    ",humanscore,"    -     ",compscore)
in order to make sure the values of the variables don't shift their position, but it comes up with an error saying "TypeError: format() takes at most 2 arguments (5 given)", So basically I'm just wondering how you use the format function to align lines of code like this. (the spaces inbetween were a cheap way of aligning stuff without the format function. )

formatfunction in it. Did you mean to typeformatinstead ofprint?formatfunction but your example uses theprintfunction...I am guessingprintcallsformatwhich is unhappy about the extra parameters you passedprint. Is that a good summary of your question?