Geometric shapes · 13 / 13 Exercise Medium

Graphic of a Function

Objective

Create a program Python to draw the graphic of the function y=(x-4)² for a range of integer values of x requested from the user.

Input
-1
8
Output
*************************
****************
*********
****
*

*
****
*********
****************

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise