[Tutor] HELP PLEASE

Mats Wichmann mats at wichmann.us
Mon Aug 12 13:51:50 EDT 2019


On 8/12/19 10:54 AM, Marissa Russo wrote:
> Hello,
> 
> I am trying to figure out what is going on and why my output is saying “<function mean at …….>” instead of giving me a number. Please let me know if you see the error in my code!!

to quickly illustrate the specific question you asked - you got comments
on other stuff already:


>>> def foo():
...     return "string from foo()"
...
>>> print(foo)
<function foo at 0x7f6f20ec5dd0>
>>> print(foo())
string from foo()
>>>




More information about the Tutor mailing list