For example, I define my own function "f":
def f(x):
return x
and I want to make it interactable, so I wrote another function "F":
from ipywidgets import interact
def F():
interact(f,x=10)
but it didn't work. Any ideas about how I can adjust my code?