how to solve the error: "Value after * must be an iterable, not int" as shown in the image below enter image description here
CodePudding user response:
Join takes one argument if want to give more than one argument you can give it as list or tuple.
CodePudding user response:
You're trying to unpack an... integer :)
The asterisk operator in python is used to unpack a list, for example if you have some case like:
full_name = ["Jimi", "Hendrix"]
print("My name is", *full_name)
So in your case you passed an integer, while the operator expects an iterable such as list for example.