1. Write a python function to count the number occurrences all vowels present in a string 2. Write a python function to find common characters presents in two words 3. Write a python function to check the given string is palindrome or not 4. Write a python function to read an IP address from stdin (input from user via keyboard) and check whether it is valid or not. LinkedList Excercise: 1- create a function named insert_after( key, data ), it will search for a key and when found insert the data after Ex: linkedlist A->B->C insert_after(B, W) A->B->W->C 2- create a function named insert_before( key, data ), it will search for a key and when found insert the data before Ex: linkedlist A->B->C insert_before (B, W) A->W->B->C 3- create a function named delete_after it will search for a key and when found it will delete the data after EX: A->B->C delete (B) A->C
1. Write a python function to count the number occurrences all vowels present in a string
2. Write a python function to find common characters presents in two words
3. Write a python function to check the given string is palindrome or not
4. Write a python function to read an IP address from stdin (input from user via keyboard) and check whether it is valid or not.
LinkedList Excercise:
1- create a function named insert_after( key, data ), it will search for a key and when found insert the data after
Ex: linkedlist A->B->C
insert_after(B, W)
A->B->W->C
2- create a function named insert_before( key, data ), it will search for a key and when found insert the data before
Ex: linkedlist A->B->C
insert_before (B, W)
A->W->B->C
3- create a function named delete_after it will search for a key and when found it will delete the data after
EX: A->B->C
delete (B)
A->C
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images