List Comprehension With Function Calls
Mon 10 August 2026
def transform(x):
return x * 10
result = [transform(x) for x in range(5)]
Score: 10
Category: chapter9_list_comprehension
def transform(x):
return x * 10
result = [transform(x) for x in range(5)]
Score: 10
Category: chapter9_list_comprehension