title: How do I run a function, add a string and add the current year
body: <p>I'm stuck on how to run a multi-function, to include a string, then value, then call the current year to fill a label.</p>
  <p>It should come out looking like &quot;Lane Cove Race 6 - 2020&quot;</p>
  <p>I'm not getting any output when I create a function to run 3-4 functions. The functions work on their own but not together. I've tried to call it with only a single function by calling multi function as well but I don't get any put put.</p>
  <pre><code>
  from tkinter import *
  
  root = Tk()
  root.title(&quot;New Race Screen&quot;)
  root.geometry(&quot;650x500&quot;)
  
  # Multi Functions
  
  
  def multi_function():
      def submit_title():
          if l.get() == &quot;one&quot;:
              rt_label = Label(root, text=&quot;Lane Cove Race &quot;)
  
          elif l.get() == &quot;two&quot;:
              rt_label = Label(root, text=&quot;North Head Race &quot;)
  
          elif l.get() == &quot;three&quot;:
              rt_label = Label(root, text=&quot;Homebush Race &quot;)
  
          else:
              rt_label = Label(root, text=&quot;Parramatta Race &quot;)
  
          rt_label.grid(row=7, column=5, sticky=W)
  
  
      def race_number():
          input = race_number.get()
          rn_label = Label(root, text=input)
          rn_label.grid(row=7, column=5, sticky=E)
  
  
  l = StringVar()
  l.set(&quot;one&quot;)
  
  location_button_1 = Checkbutton(root, text=&quot;Lane Cove&quot;, variable=l, onvalue=&quot;one&quot;)
  location_button_1.grid(row=1, column=4, padx=20, sticky=W)
  location_button_2 = Checkbutton(root, text=&quot;North Head&quot;, variable=l, onvalue=&quot;two&quot;)
  location_button_2.grid(row=2, column=4,padx=20, sticky=W)
  location_button_3 = Checkbutton(root, text=&quot;Homebush&quot;, variable=l, onvalue=&quot;three&quot;)
  location_button_3.grid(row=3, column=4,padx=20, sticky=W)
  location_button_4 = Checkbutton(root, text=&quot;Parramatta&quot;, variable=l, onvalue=&quot;four&quot;)
  location_button_4.grid(row=4, column=4,padx=20, pady=20, sticky=W)
  
  race_number = Entry(root, width=3)
  race_number.grid(row=2, column=1, pady=20, sticky=W)
  race_number.insert(0, &quot;0&quot;)
  
  Submit_button = Button(root, text=&quot;Submit&quot;, command=multi_function)
  Submit_button.grid(row=7, column=0,padx=10, sticky=W)
  
  
  nrlabel2 = Label(root, text=&quot;New Race ID Number&quot;, font=(&quot;Arial&quot;,&quot;10&quot;,&quot;bold&quot;))
  nrlabel2.grid(row=1, column=0, padx=5, sticky=W)
  
  nrn = Entry(root, width=4)
  nrn.grid(row=1, column=1)
  nrn.insert(0, &quot;0000&quot;)
  
  race_numberlabel2 = Label(root, text=&quot;Series Race Number   &quot;, font=(&quot;Arial&quot;,&quot;10&quot;,&quot;bold&quot;))
  race_numberlabel2.grid(row=2, column=0, pady=20)
  
  root.mainloop()
  </code></pre>