Write a Python program to check if a target element exists within a set, printing `True` or `False`.
Line 1: Set elements. Line 2: Target element.
Print True or False.
Valid elements
apple banana cherry banana
True
Use the `in` membership operator for sets with $O(1)$ average time complexity.
def check_membership(s, target):
# Write your code here
pass
s = set(input().split())
target = input()
print(check_membership(s, target))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