square

PythonF

Area of a square

The perimeter P of a square is passed as the input. The program must print the area of the square. Input Format:The first line denotes the…