Why this unpacking of arguments does not work?
The ** syntax requires a mapping (such as a dictionary); each key-value pair in the mapping becomes a keyword argument. Your generate() function, on the other hand, returns a tuple, not a dictionary. You can pass in a tuple as separate arguments with similar syntax, using just one asterisk: create_character = player.Create(*generate_player.generate()) Alternatively, fix your … Read more