how to square in python

44

n = 5
result = pow(n, 2)
print(result)
n = 2
n2 = 3

print(n**2)
print(n2**2)

Comments

Submit
0 Comments