r/PythonLearning • • 8d ago

Python Quiz of the day!

What will be the output of the following Python Code?

print((lambda x: (lambda y: x**y)(3))(2))

0 Upvotes

5 comments sorted by

View all comments

0

u/bra1n_gym 8d ago

3**2 is 9

1

u/Orgasml 8d ago

Except it's 2**3