Preview:
# Perimeter of Rectangle 
l = int(input("Enter length : "))
b = int(input("Enter breadth : "))
perimeter = 2*(l + b)
print("Perimeter of Rectangle is : ", perimeter)

# Are of Rectangle 
area = l*b
print("Area of Rectangle is : ", area)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter