Magics whose name begins with just one % take as argument the rest of the line and are called line magics. Magics that begin with a double percent sign %% take a multi-line argument and are called cell magics.
A commonly used magic is %timeit, a wrapper around the Python's timeit.timeit function, f...