from typing import Dict
from typing import List


def create_dict(n: int) -> Dict[int, List[int]]:
    """Returns Dictionary with numbers from 0 to n as keys
       which are mapped to lists containing squares and
       cubes of the respective keys.

    doctests:
    >>> create_dict(1)
    {0: [0, 0], 1: [1, 1]}
    >>> create_dict(3)
    {0: [0, 0], 1: [1, 1], 2: [4, 8], 3: [9, 27]}
    """

    x = {}

    for i in range(0, n + 1):
        x[i] = [i * i, i * i * i]

    return x