CubeSimple Interview Question

To write the python code for the random numbers and python pattern program