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() >>> _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor