Aug-25-2020, 07:32 PM
Hi all,
I can't place the following 'thing' in Python coding.
Why is the output of
I can't place the following 'thing' in Python coding.
Why is the output of
print (MyClass.f)
in the code below, looks like this: <function MyClass.f at 0x01DDE190>
? class MyClass: i = 12345 def f(self): return 'hello world' print (MyClass.i) print (MyClass.f)Thanks.