length = float(input("Enter length of the rectangle : "))
breadth= float(input("Enter bradth of the rectangle : "))
area = length + breadth
print("Rectangle specifications ")
print("Length = ", length, end = '')
print("breadth = ",breadth)
print("Area = ", area)
Preview:
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