Question from the Python - Fundamentals test

Write a Python function that returns a list of numbers divisible by 3 from 0 to 9.

Hard

What is the return value of the following function ?

def f():
	a = [x for x in range(10)]
	return list(filter(lambda x: x%3, a))
Author: ThéoStatus: PublishedQuestion passed 1500 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!