Tuple Packing

Easy Tuples
Solve in Playground →

Problem Statement

Write a Python program that packs multiple values into a single tuple variable and prints it.

Input Format

Space-separated values.

Output Format

Print the packed tuple.

Constraints

Valid inputs

Sample Input

John 25 Engineer

Sample Output

('John', '25', 'Engineer')

Explanation

Assigning multiple comma-separated values without parentheses packs them into a tuple automatically.

Starter Code

def pack_values(v1, v2, v3):
    # Write your code here
    pass

v1, v2, v3 = input().split()
print(pack_values(v1, v2, v3))

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