4
10. Write a program to input a list and check whether it is palindrome.
11. Write a program to count the number of vowel in the string pineapple.
12. Write a program to input a list and multiply the even number of the list by 2 and add 1 to
odd number.
Answers
Answered by
2
Explanation:
10 ans-Given a string, write a python function to check if it is palindrome or not. A string is said to be palindrome if the reverse of the string is the same as string. For example, “radar” is a palindrome, but “radix” is not a palindrome.
11 ans-This is a Python Program to count the number of vowels in a string.
12 ans-Given a list of numbers, write a Python program to count Even and Odd numbers in a List.
Answered by
0
8ylhotngkjjifjdufjfL
Similar questions
Biology,
1 month ago
Computer Science,
3 months ago
Biology,
9 months ago
Social Sciences,
9 months ago