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
Which of the following is the same as list(map(lambda x: x**-1, [1, 2, 3]))?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following is the same as list(map(lambda x: x**-1, [1, 2, 3]))?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!