from cs50 import get_int height = get_int("Height?: ") width = get_int("Width?: ") for i in range(height): print("#" * width)