lundi 9 mars 2020

Python entry input verification

I want to create a simple game in Python 3.8, and i need to verify an entry`s input in order to create it. Something like this:

 if input.text == "":
      print("Error")

but i don`t know how to do this in Python. I used to do that a lot in C# but here it s not that easy apparently.

Aucun commentaire:

Enregistrer un commentaire