Perimeter of Rectangle (2(l + b)) Dry Run in PYTHON

Perimeter of Rectangle (2(l + b)) is an interactive PYTHON dry run visualizer from the Io programs section. Study the source code, then use the execution controls to follow each step, variable update, highlighted line, and console output.

This page provides a browser-based dry run with source-code highlighting, auto-scroll, voice narration controls, and execution output for learning the program step by step.

Perimeter of Rectangle (2(l + b)) Program Code

# Perimeter of Rectangle
length = float(input("Enter length: "))
breadth = float(input("Enter breadth: "))
perimeter = 2 * (length + breadth)
print(f"Perimeter of Rectangle = {perimeter:.2f}")

View the complete Io programs page.

Program Console Perimeter of Rectangle (2(l + b)) Topic: PYTHON Vignaankosh.com
Execution Panel
Step 0/0
Console is empty.