99.9k views
3 votes
2. Define a function squareArea that computes the area of a square given side length

User Canato
by
4.3k points

1 Answer

1 vote

Code:

def squareArea(length):

return length**2

Hope this helps :)

User Snth
by
4.3k points