Python code to make square
Answers
Answered by
1
Answer:
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(200)
left(90)
forward (200)
left(90)
forward (200)
left(90)
forward (200)
left(90)
bye()
Similar questions