7.Hide, what is going on


#1

hello , since yesterday i have this wird problem. can anybody helpme.

from random import randint 

board = []

for x in range(0, 5):
    board.append(["O"] * 5)

def print_board(board):
    for row in board:
        print " ".join(row)

# Add your code below!
def random_row(board):
    return randint(0,len(board)-1)
    
def random_col(board):
    return randit(0,len(board)-1)
random_row(board)
random_col(board)

and then ti pops "Oops, try again. Did you create a function called random_col?" whats is happening? hahahaha did the program foolsme ? hahahaha what can i do, Thanks for repling


#2

bit of a misleading error, but inside your random_col function you misspelled randint


#3

hahhaahahahahaha XD :joy::grinning::joy: (°o°) how dum am i! hahahaha thaks i been like a day and a half tring to crakit :sweat_smile: