Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Text, PushButton
- app = App(layout="grid")
- questionlbl_name = Text (app, text="Where_________ he live?", grid=[0,0])
- answer_a_botton = PushButton(app, text="A is", grid=[0,1])
- answer_b_botton = PushButton(app, text="B was", grid=[0,2])
- answer_c_botton = PushButton(app, text="C do", grid=[0,3])
- answer_d_botton = PushButton(app, text="D does",grid=[0,4])
- time_lbl_name =Text(app, text ="You have 1200 seconds left", grid = [0,5])
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement