Hi,
I am trying to check if an entry is null but not succeeded to do so.
if I leave the entry field empty it goes to first if statement which goes to complete_purchase().
I am trying to check if an entry is null but not succeeded to do so.
1 2 3 4 5 6 7 8 9 |
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() |