Python-Area Greater Than Canada

def areaOfSquare(l):
    return l**2

squareLength=0.001

i=1
while i == i: #True
    squareLength*=2
    a=areaOfSquare(squareLength)
    print("The area of the square whose length side of "+str(squareLength)+" is ",a,"After ",i," times doubled")
    if a > 9.8*10**6:
        break
    i+=1

dahan1999

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts