dimanche 13 septembre 2020

why does it not allow me to print "player 1 is x"

I am not able to print('player 1 is x'). what am I doing wrong.

def marker():
    mark = ''
    while mark != 'x' and mark != "o":
        mark = input('select x or o:')
    if mark == 'x':
        print("player 1 is x")

Aucun commentaire:

Enregistrer un commentaire