I am geeting an error in my code, please help me out : I am trying to write a code for my python programming online course. However, I am getting  an error : 
*** ERROR: Failed to display hand correctly - be sure 'Current Hand' and the display of the hand are on the same line! ***

Here is my code :
def playHand(hand, wordList, n):
    total = 0
    while True: 
        print("\nCurrent Hand:",)
        displayHand(hand)
        entered = input('Enter word, or a "." to indicate that you are finished: ') 
        if entered == '.':
            print ("Goodbye! Total score: " + str(total) +" points.")
            break
        if isValidWord(entered, hand, wordList) == False:
            print ("Invalid word, please try again.")  
        else: 
            total += getWordScore(entered, n)
            print (str(entered), "earned", getWordScore(entered,n), "points. Total:", str(total))
            hand = updateHand(hand, entered)
        if calculateHandlen(hand) == 0:
            print ("\nRun out of letters. Total score: " + str(total) +" points.")
            break
