Vidyalelo
Python · Q173

Functions in Python

Programming · Python · question 173

Q173

Which of the following numbers will not be a part of the output list of the following Python code? 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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board