Hi \nI need some help, not sure what I can do to fix this code.\n\nimport random\ngamerun = 1\nplayername = 1\nroundask = 1\ntopicchoice = 1\nquestion = 1\nanswered = \ncount = 0\np1score = 0\np2score = 0\nrestart = 1\nwhile gamerun == 1:\nplayername = 1\nroundask = 1\ntopicchoice = 1\nquestion = 1\nanswered = \ncount = 0\np1score = 0\np2score = 0\nrestart = 1\nrounddone = 1\n\np1 = input (' What is your name?')\np2 = input (' What is your name?')\nwhile roundask == 1:\nroundchoice = input('How many rounds would you like to play?')\nif roundchoice == '1':\nroundchoice = 1\nroundask = 0\nelif roundchoice == '2':\nroundcount = 2\nroundask = 0\nelif roundchoice == '3':\nroundchoice = 3\nroundask = 0\nelse:\nprint ('You can choose 1, 2 or 3 rounds')\n\nwhile rounddone <= roundchoice:\nwhile topicchoice == 1:\nchoice = input ('topic choices are: Animals, Sports Brands and Sports ')\nif choice == 'Animals':\ntopic = open ('Animals.txt', "r")\ntopicchoice = 0\nelif choice == 'Sports Brands':\ntopic = open ('Sports Brands.txt', "r")\ntopicchoice = 0\nelif choice == 'Sports':\ntopic = open ('Sports.txt', "r")\ntopicchoice = 0\nelse:\nprint (' Please choose a valid topic ')\nturn = (random.choice([p1, p2]))\n\nwhile question < 5:\nprint ("it is",turn,"'s turn" )\nplayeranswer = input (' Make a guess! ')\nfor line in topic:\nif playeranswer in answered:\nprint ('Answered')\nelif playeranswer in line:\nprint ('Correct!!')\nquestion = question + 1\ncount = count + 1\nanswered.append(playeranswer)\nelse:\nprint('Incorrct!!')\nif turn == p1:\np1score = p1score + count\nturn = p2\ncount = 0\nelif turn == p2:\np2score = p2score + count\nturn = p1\ncount = 0\n\nif turn == p1:\np1score = p1score + count\nturn = p2\ncount = 0\nrounddone = rounddone + 1\nelif turn == p2:\np2score = p2score + count\nturn = p1\ncount = 0\nrounddone = rounddone + 1\nwhile restart == 1:\naskreplay = input ('Would you like to play again?')\nif askreplay == 'yes':\nrestart = 0\nelif askreplay == 'no':\nrestart = 0\ngamerun = 0\nelse:\nprint('yes or no') \n\nThis is an assignment I have to hand in pretty soon, and it's really hard for my level so I'm having difficulties running it, if someone could help me it'd be much appreciated. Thank you.\nPurpose/Details:\n\nIn this game you are to load a series of categories and responses based on topic. The player is then given a topic and asked to pick the top 5 responses if they get one incorrect the opposing player may guess. This continues until all 5 responses are found. The player with the most responses wins.\n\nThe game must read in the categories and responses from a specified text file. It should then allow players to enter their name and select up to 3 rounds. At the end it declares a winner.