python code to make square shape
Answers
Answered by
4
Explanation:
Python | Calculate square of a given number (3 different ways)
- By multiplying numbers two times: (number*number)
- By using Exponent Operator (**): (number**2)
- By using math.pow() method: (math.pow(number,2)
Answered by
2
from turtle import *
forward(150)
left(90)
forward(150)
left(90)
forward(150)
left(90)
forward(150)
bye()
Similar questions