Write a Python program to calculate and print the sum, average, maximum, and minimum of a list of numbers formatted appropriately.
Space-separated numbers.
Print Sum, Average (rounded to 2 decimal places), Maximum, and Minimum.
1 <= len(arr) <= 100
10 20 30 40 50
Sum: 150, Average: 30.00, Max: 50, Min: 10
Compute statistical metrics for the list.
def list_stats(arr):
# Write your code here
pass
arr = list(map(int, input().split()))
list_stats(arr)Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used