The error we are getting is that it is looping infinitely and does not appear to be picking a number to be the correct choice
import random
print ("Guess a random number between 1 and 10")
number = random.randint(1,10)
guessTaken = 0
print ("Guess!")
guess = int( input())
while guessTaken < 6:
guess != guess+1
print ("Wrong!, guess again")
if guess == input():
print ("Correct")
print ( )