Question is simple. I just want to call function2 in this code. How can ı do? so I want to print text in this code.
def func1():
def func2():
print("test")
Question is simple. I just want to call function2 in this code. How can ı do? so I want to print text in this code.
def func1():
def func2():
print("test")
If you need exactly you wrote:
def f1():
def f2():
print("test")
f2()
f1()
But maybe you meant a class:
class c:
def f():
print("f()")