Printing <function at > instead of proper variable
<p>I have a python program that prints a scoreboard but when it prints the output is  instead of printing the correct variable <code>scoreboard</code>.</p>

<p>My code is as follows:</p>

<pre><code>scoreboard = '\n'.join([
    '┌────────────┐',
    '│     Player           │',
    '│                      │',
    '│         4            │',
    '│                      │',
    '│                      │',
    '│  Computer            │',
    '│                      │',
    '│          5           │',
    '│                      │',
    '└────────────┘'])

score_board = scoreboard

def scoreboard():
    for i, line in enumerate(score_board.splitlines()):
        mvaddstr(12 + i, 1, line)
    endwin()

scoreboard()
</code></pre>

<p>This is what prints:</p>

<pre><code>&lt;function scoreboard at 0x03ACF6A8&gt;
</code></pre>

<p>Why is it printing the above line and not the <code>scoreboard</code> variable? </p>