Function with Parameters

Easy Functions
Solve in Playground →

Problem Statement

Write a Python program that defines a function `add_numbers(a, b)` which takes two numbers as parameters, computes their sum, and prints the result.

Input Format

Two integers separated by space.

Output Format

Print the sum of the two numbers.

Constraints

-1000 <= a, b <= 1000

Sample Input

5 10

Sample Output

15

Explanation

Parameters allow passing inputs into a function for processing.

Starter Code

def add_numbers(a, b):
    # Write your code here
    pass

a, b = map(int, input().split())
add_numbers(a, b)

Limits

  • Time Limit: 1s
  • Memory Limit: 256MB

Embedded C Programming

Updated: March 15, 2026
Intermediate

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