Computer Science, asked by sanketsharma96, 11 months ago

python code to make square shape​

Answers

Answered by ʙʀᴀɪɴʟʏᴡɪᴛᴄh
4

Explanation:

Python | Calculate square of a given number (3 different ways)

  1. By multiplying numbers two times: (number*number)
  2. By using Exponent Operator (**): (number**2)
  3. By using math.pow() method: (math.pow(number,2)
Answered by MRsteveAustiN
2

from turtle import *

forward(150)

left(90)

forward(150)

left(90)

forward(150)

left(90)

forward(150)

bye()

Similar questions