Write a Python program to count and print the frequency of a target element in a list.
Line 1: Space-separated list elements. Line 2: Target element.
Print the count frequency integer.
1 <= len(arr) <= 100
1 2 3 2 4 2 5 2
3
Count occurrences of the target element.
def count_freq(arr, target):
# Write your code here
pass
arr = input().split()
target = input()
print(count_freq(arr, 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