title: I'm trying to make a list of things to show on exact days of the week
body: <p>So I'm trying to make it to show a list of things in PySimpleGUI and it doesn't work because of this problem &quot;Expected type 'list[list[Element]]', got 'list[list[() -&gt; None]]' instead&quot; the error is about &quot;sg.Column(asdf)&quot;.</p>
  <p>Also how do I put text in the next line like clicking enter in the notepad?</p>
  <pre><code>import PySimpleGUI as sg
  import requests
  import datetime
  
  current_time = datetime.datetime.now()
  dzien = datetime.datetime.today().weekday()
  data = datetime.date.today()
  
  week_days=[&quot;Poniedziełek&quot;, &quot;Wtorek&quot;, &quot;Środa&quot;, &quot;Czwartek&quot;, &quot;Piątek&quot;, &quot;Sobota&quot;, &quot;Niedziela&quot;]
  
  pon = [&quot;Historia&quot;, &quot;Matematyka&quot;, &quot;Niemiecki&quot;, &quot;Chemia&quot;, &quot;Fizyka&quot;]
  wt = [&quot;Angelski&quot;, &quot;Informatyka/PP&quot;, &quot;Biologia&quot;, &quot;Matematyka&quot;]
  sr = [&quot;Angileski&quot;, &quot;Fizyka&quot;, &quot;Matematyka&quot;, &quot;Polski&quot;, &quot;Wychowawcza&quot;]
  czw = [&quot;Nic/WOS&quot;, &quot;WF&quot;, &quot;Religia&quot;, &quot;Geografia&quot;]
  pt = [&quot;Matematyka&quot;, &quot;Polski&quot;, &quot;Fizyka&quot;]
  
  
  
  def lekcje():
      if dzien == 0:
          sg.Text(pon)
      elif dzien == 1:
          sg.Text(wt)
      elif dzien == 2:
          sg.Text(sr)
      elif dzien == 3:
          sg.Text(czw)
      elif dzien == 4:
          sg.Text(pt)
  
  asdf = [[
      lekcje
  ]]
  
  
  
  layout =  [[
      sg.Column(asdf),
  ]]
  
  window = sg.Window(&quot;Zegar&quot;, layout)
  
  while True:
      event, values = window.read()
      if event == sg.WIN_CLOSED:
          break
  
  window.close()
  </code></pre>