title: What do i do wrong in passing the parameters?
body: <p>My function:<br></p>
  <pre><code>def buttons_for_country(main_master,datasets):
      country_list = every_country_in_datasets(datasets)
      rows = 0
      columns = 0
      for i in range(1,len(country_list)):
          name = &quot;button&quot;,i
          name = tkinter.Button(master = main_master,
                               command = lambda: plot(10000)
                               height = 2,
                               width=10,
                               text=country_list[i-1])
          
          if rows == 12:
              rows = 0
              colums += 1
  
          name.grid(rows,columns)
          
          rows += 1
          name.pack()
  </code></pre>
  <p>It cames error at <code>name.grid(rows,columns)</code> said:<br></p>
  <pre><code>Traceback (most recent call last):
    File &quot;c:/Python/Covid/Cov_predict.py&quot;, line 93, in &lt;module&gt;
      buttons_for_country(window,df)
    File &quot;c:/Python/Covid/Cov_predict.py&quot;, line 75, in buttons_for_country
      name.grid(rows,columns)
  TypeError: grid_configure() takes from 1 to 2 positional arguments but 3 were given
  </code></pre>
  <p>It seems fine with by giving 2 params <code>rows</code> and <code>columns</code><br>
  But it said i given <code>3 params</code><br>Where do i did wrong here?</p>