def sf(a):
return a%3!=0 and a%5!=0
m=filter(sf, range(1, 31))
print(list(m))
a) 1
b) 29
c) 6
d) 10
Which of the following numbers will not be a part of the output list of the following Python code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following numbers will not be a part of the output list of the following Python code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!