Program Console Vignaankosh.com
Execution Panel
Console is empty.
Function returning multiple values is an interactive PYTHON dry run visualizer from the Functions 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.
def min_max_avg(numbers):
"""Return minimum, maximum, and average"""
return min(numbers), max(numbers), sum(numbers)/len(numbers)
nums = [15, 8, 23, 42, 4, 16]
mn, mx, avg = min_max_avg(nums)
print(f"List: {nums}")
print(f"Min: {mn}, Max: {mx}, Avg: {avg:.2f}")