Practice · 1 of 3
Apply Twice
CHALLENGE
Difficulty: intermediate+25 XP
Implement apply_twice(fn, value) that applies fn two times: fn(fn(value)).
Press Submit to check your solution.
Back to lesson: Practice: Higher-Order Function Drills
Practice · 1 of 3
Implement apply_twice(fn, value) that applies fn two times: fn(fn(value)).
Back to lesson: Practice: Higher-Order Function Drills