  import wx  a0 = ['Apples', 'Bananas', 'Strawberries', 'Watermelon',      "Don't remember", 'None of the above']  a0 = ['No', 'Yes']  a0 = ['No', 'Yes']  class Fruit(wx.Frame):      def __init__(self, parent, id):         wx.Frame.__init__(self, parent, id, 'Fruit', size=(000,000))          #create panel and button         panel = wx.Panel(self)          # B0 - create multiple choice list         box = wx.MultiChoiceDialog(None, """  A0.    What kind of fruit did you buy at the store?""", 'Fruit', a0)         if box.ShowModal() == wx.ID_OK:             a_0 = box.GetSelections()          print (a_0, '\n')          # A0 - create single choice list         box = wx.SingleChoiceDialog(None, """ A0.    Do you like eating fruit? """, 'Fruit', a0)         if box.ShowModal() == wx.ID_OK:             a_0 = box.GetStringSelection()          print (a_0, '\n')          if a_0 == 'Yes':             box = wx.TextEntryDialog(None, "A0.    What kind of fruit is your favorite? ", "Fruit", "")         if box.ShowModal() == wx.ID_OK:             a_0 = box.GetValue()          print (a_0, '\n')          box = wx.SingleChoiceDialog(None, """ A0.    Did you eat the fruit that you bought? """, 'Fruit', a0)         if box.ShowModal() == wx.ID_OK:             a_0 = box.GetStringSelection()          print (a_0, '\n')  A