Read and Display a String Dry Run in PYTHON

Read and Display a String is an interactive PYTHON dry run visualizer from the Strings 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.

Read and Display a String Program Code

# Python program to read and display a string
# Taking input from user
user_string = input("Enter a string: ")

# Displaying the string
print("You entered:", user_string)

View the complete Strings programs page.

Program Console Read and Display a String Topic: PYTHON Vignaankosh.com
Execution Panel
Step 0/0
Console is empty.