title: PySimpleGui - How can I update GUI with a question but not check for the answer during the first iteration
body: <p>I am making a quiz program in PySimpleGui. I want it so that the first question appears automatically without pressing a button. Is there a way to do this without adding the question in the layout? With the code below the question only appears after the submit button is pressed.</p>
  <p>I would prefer it not to be in the layout as I would like people to make their own quizzes without writing any code themselves.</p>
  <pre><code>import PySimpleGUI as sg
  
  data = {
      &quot;question&quot;: [
          &quot;Q1. What equation for force&quot;,
          &quot;Q2. Define isotope&quot;,
          &quot;Q3. Define wavelength&quot;,
          &quot;Q4. Define modal dispersion&quot;
      ],
      &quot;answers&quot;: [
  
          &quot;F=ma&quot;
          ,
          &quot;Isotopes are atoms of the same element but with a different number of neutrons&quot;
          ,
          &quot;The least distance between adjacent particles which are in phase&quot;
          ,
          &quot;Causes light travelling at different angles to arrive at different times&quot;
  
      ],
  }
  
  # initialise the question, question number and answer
  question = (data['question'])
  answers = (data['answers'])
  q_no = 0
  
  sg.theme('DarkBrown4')  # Adding colour
  # Stuff in side the window
  
  layout = [[sg.Text(&quot;                      &quot;), sg.Text(size=(60, 1), key='-OUTPUT-')],
            [sg.Text(&quot;correct answer:&quot;), sg.Text(size=(60, 1), key='-OUTPUTA-')],
            [sg.Text('Answer here:'), sg.InputText(size=(60, 1), key='-INPUT-')],
            [sg.Button('Submit'), sg.Button('Cancel')]]
  
  # Create the Window
  window = sg.Window('Quiz', layout)
  # Event Loop to process &quot;events&quot; and get the &quot;values&quot; of the inputs
  while True:
      event, values = window.read()
      if event == sg.WIN_CLOSED or event == 'Cancel':  # if user closes window or clicks cancel
          break
      window['-OUTPUT-'].update(question[q_no])
  
      if values['-INPUT-'] == answers[q_no]:
          print('correct')
          q_no += 1
          window['-OUTPUT-'].update(question[q_no])  # accepts the answer as correct and moves onto the next question
          window['-OUTPUTA-'].update('')
          window['-INPUT-'].update('')
  
      else:
          print('incorrect')
          print('answer was:', answers[q_no])
          window['-OUTPUTA-'].update(answers[q_no])  # shows that the answer is incorrect and displays the right answer
  
  window.close()
  </code></pre>