Jun-25-2021, 03:39 PM
Hi,
I am trying to check if an entry is null but not succeeded to do so.
I am trying to check if an entry is null but not succeeded to do so.
cap_entry = sec_entry.get() if cap_entry in str(image_rand): complete_purchase() elif not cap_entry: cvv_screen.destroy() cart() else: cvv_screen.destroy() cart()if I leave the entry field empty it goes to first if statement which goes to complete_purchase().