mercredi 29 septembre 2021

python 'if' statement invalid syntax [closed]

guess_row = input("guess row: ").strip()
guess_col = (input("guess col: ").strip()

if guess_row.isnumeric() and guess_col.isnumeric():

it says invalid syntax on the ':' why is that and how can I fix it?

Aucun commentaire:

Enregistrer un commentaire