Write a Python program to find the intersection of two sets and print the common elements sorted as a list.
Line 1: First set elements. Line 2: Second set elements.
Print the sorted intersection elements as a list.
Valid elements
1 2 3 4 3 4 5 6
['3', '4']
Set intersection finds common elements using the `&` operator or `.intersection()`.
def set_intersection(s1, s2):
# Write your code here
pass
s1 = set(input().split())
s2 = set(input().split())
print(sorted(list(set_intersection(s1, s2))))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