TTTC/functest.py
2019-08-08 09:50:07 +02:00

14 lines
221 B
Python

def f():
print("very secret variable leaked")
def g():
#h = lambda : (print("hi"), print("hello"))
yn(f, "leak secret? ")
def yn(task, question):
x = input(question)
if x == "y":
task()
g()