This blog is available for sale. Please 'contact us' if interested.
Advertise with us

Python Multiple Choice Questions
Which of the following is the same as list(map(lambda x: x**-1, [1, 2, 3]))?
A. [x**-1 for x in [(1, 2, 3)]].
B. [1/x for x in [(1, 2, 3)]].
C. [1/x for x in (1, 2, 3)].
D. error
Show Answer

DigitalOcean Referral Badge

© 2022-2023 Python Circle   Contact   Sponsor   Archive   Sitemap