Professional Documents
Culture Documents
Revision Wrksheet
Revision Wrksheet
1.
2.
print(str.upper())
28. Write a program to count the number of vowels in a string.
29. Write a program to take a string from the user and replace each
blank space with hyphen.
31. WAP TO TAKE 2 STRINGS FROM THE USER AND DISPLAY THE
LARGER STRING WITHOUT USING ANY FUNCTION.