Python Lab Assignment
Chapter-5
Strings in Python
- wap to read line and count number of words
- wap to enter a string and print the reversed string.
- wap to check if the given substring is present in the string.
- wap that reads a string and prints whether it is palindrome or not.
- wap to count no. of ‘a’ in the string.
- wap that counts total characters in a string.
- wap to find the largest word in the string entered by user.
- wap to take full name as input and displays the abbreviations of the first and middle name.
- wap to count vowels and consonant in given string.
- wap to find the length of entered string.
- wap to check the length of a entered string with suitable message.
- wap to replace character in a string with a symbol.