Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Text,ButtonGroup,PushButton
- def do_nothing():
- print("Button was pressed")
- app = App(title="Adult Placement Test for English Classes")
- questionmessage = Text(app, text="I ----- some friends for dinner last night.")
- questionmessage.text_size=16
- questionmessage.font = "Arial Black"
- choice = ButtonGroup(app, options=["A meet", "B meeted", "C was met","D met"], selected="D met")
- choice.text_size=15
- choice.font = font = "Arial"
- nextbutton= PushButton(app,command=do_nothing)
- nextbutton.bg ="green"
- nextbutton.text = "Next"
- timemessage = Text(app, text="You have 20 minutes left")
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement