?
The two snippets of the following Python codes are equivalent.
The two snippets of the following Python codes are equivalent.
CODE 1
@f
def f1():
print(“Hello”)
CODE 2
def f1():
print(“Hello”)
f1 = f(f1)
CODE 1
@f
def f1():
print(“Hello”)
CODE 2
def f1():
print(“Hello”)
f1 = f(f1)
Join the Discussion
Login to post a comment or share your explanation.
Login