Question: FAT1_1 1. Write a program to accept a string from the user which is nested list consists of numbers, Read an element from the user

FAT1_1 1. Write a program to accept a string from the user which is nested list consists of numbers, Read an element from the user which is a single digit and display the number of occurrence of that element and level Example: Element Output : Level frequency 1 1 21 32 One 1 in level 1, one 1 in level 2, two one in level 3 The input string should have equal number of 'T' and 1. Only numbers and are loved the usere not a print Mulia nput if the element not in the list then print Not Available
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
