Recently I have encountered with this task in my calculus book. Since that I can't get it out of my mind.
Task: Let E be measurable subset of $[0,1]$ with positive measure. Prove that $f(t) = \lambda(E \cap [0,t])$ is continuous on $[0,1]$ ($\lambda$ is Lebesgue measure)
I would appreciate any help solving this task.