I'm almost done with an assignment to make a tic-tac-toe game, but for the life of me I can't work through an error I'm encountering in it upon execution. Any advice would be immensely appreciated.
Code link: http://pastebin.com/k7deVCAD
error upon execution:
Traceback (most recent call last): File "C:/Users/Andrew/Dropbox/program2.1.py", line 168, in I_hope_this_works ()
File "C:/Users/Andrew/Dropbox/program2.1.py", line 145, in I_hope_this_works play (player_names, player_marks)
File "C:/Users/Andrew/Dropbox/program2.1.py", line 154, in play askUserToPlayNextMove (player_names['X'], player_marks) #asks them to input move File "C:/Users/Andrew/Dropbox/program2.1.py", line 52, in askUserToPlayNextMove (row, column)= input("Please input your next move in row, column format ")
ValueError: too many values to unpack (expected 2)
The function
needs two arguments, but you passed them as a single tuple:
try this: