in the output of print(str(func)) what is the hex value that comes with the name of the function
so when I found out that in python you can use functions as arguments I was curious about what print(str(func)) might do (with func being the name of a previously defined function), and quite awesomely it does actually tell you the function name and also a hex value. As I'm only using the code playground I can't figure out what the hex is: I'm guessing either the line it's on or the place in memory the function is stored. When run in code playground values don't match up as line numbers but I'm guessing there's a chance it won't give the correct line number in the playground. Can someone please try in a real environment and let me know their findings - edit: thanks barry; I can't see an icon or anything to accept and answer as correct, so I gave you an upvote