
5. a)
a) Write a Python program to accept a string and print it in reverse order. b) Consider the string S = "SumitaArora" . What will be the output of: i) S[0:6] ii) S[-5:] iii) len(S) c) Write a program to count the number of vowels in a string entered by the user. computer science sumita arora class 11