

def Perimiter():
    global length,width
    length=float(input("Enter length: "))
    width=float(input("Enter width: "))

def calcPerimiter():
    print("The perimiter of your rectangle is", 2*width+2*length,"ft around.")
    

Perimiter()
calcPerimiter()
