where ; A= level 1 , B=level 2 ,C=level 3
PLEASE TRY FIRST THEN CLICK ON SOLUTION FOR BETTER IMPROVEMENT...
A1. write a program(WAP) to input a string and check palindrome or not.
e.g. input= ankit #output= not
input= avaava # output= yes
A2. write a program to input string and remove all integer from string.
e.g. input= python3program22
output= pythonprogram
A3.
B1. write a program to input string and remove all space.
e.g 'hello my name is computer'
output= hellomynameiscomputer
B2. write a program to find largest word in a given string.
e.g. input= happy independence day
output= independence
input = this is a book
ouput= book
B3. write a program input two string and print second string after remove all common character.
e.g.= input= hello,insert
ouput= insrt
C1. write a program to input string and check palindrome or not, in one line.
e.g. input= ankit #output= not
input= avaava # output= yes
C2. WAP to input an integer n and print pascal's tringle ; where n is number of row. e.g. input= 4
1
1 1
1 2 1
1 3 3 1
C3. write a program to input string and remove first charecter of all words.
e.g. input= hello my name is ankit
output= ello y ame s nkit
input=this is a book
output=his s ook