I created two textinuput and a button in builder.load_string.
- Id: cash
- Id: amount
I add on_release: app.on_submit() to the button, and I wanna make it check the textinuput for amount is equal or less than cash, then print ('sent'), else print('fraud'). If&else statement
Aucun commentaire:
Enregistrer un commentaire