I'd like to know if I can somehow list/display the function that I'm importing in Python.
Let's say I have 2 files:
functions.py
def add(a,b):
c = a + b
print(c)
calc.py
from functions import *
So I want to see the whole code of the add() function without checking the functions.py file. Is that possible? I found that functions are not iterable, thus I can't print them with a for loop.
Maybe it's silly or useless, but I have a function that's imported in Replit and I'd like to see the code of the function. Thank you.