0
Can someone explain this output
def hi(): print("hello") print(hi) ====================================== <function hi at 0x7f36451e1bf8>
4 Antworten
+ 1
You haven't called your function, so you're just printing the internal name of the function itself including the memory address.
0
@HonFu so how do i get "Hello" as an output
0
def hi():
print("hello")
hi() // this line