Question:10
“search and count”
Python script to take input for a string further take input for a character to search. Check and print whether the character is present in the string or not, if present also print how many times it is present?
Sol:
Question:11
“search , count and also print position”
Python script to take input for a string further take input for a charatcer to search. Check and print whether the character is present in the string or not, if present also print its count and position?
Sol: