I was wondering if you can make a function inside of another function in python. Just like this:
f().f2()
The f()
is the first function, and f2()
is the second function. Say f().f2()
prints out "Hello world"
. But if I change the .f2()
to .f3()
it will print another string of text.
Is it possible?