how to have multiple arguments in a input fuction in python
<p><strong>This function throws an error at the input function claiming that the arguments are invalid.. any resolutions?</strong></p>

<pre><code>def assignSquareValues():
        square=[[0,0,0],
                [0,0,0],
                [0,0,0]]
        count=0
        try:
            for r in range(3):
                for c in range(3):
                    count+=1
                    print(count)
                    square[r][c]= int(input(("Enter a number(1-9) for square #",(count)+":",sep=''))) #this line throws an error stating that "TypeError: input expected at most 1 arguments, got 2"

        except Exception as err:
            print(err)
            assignSquareValues()

        checkMagicSquare(square)
</code></pre>

<p><code>input()</code> expects one argument - displayed text - so you have to concatenate all arguments in to one text</p>

<p>ie.</p>

<pre><code>input("Enter a number(1-9) for square #" + str(count) + ":")
</code></pre>

<p>or</p>

<pre><code>input("Enter a number(1-9) for square #{}:".format(count))
</code></pre>

python