Practical_File4_Class_10_AI_Python_Loop_String_List
Practical_File4_Class_10_AI_Python_Loop_String_List
Programs:
1. WAP to display total number of characters, alphabets, digits and special character.
2. WAP to toggle the case of all alphabets in a string without using switch case function.
3. WAP to whether the give string is a palindrome or not. (without using slicing of the string
or function)
4. WAP to count the vowels & consonants in a string.
5. WAP to display ‘n’ terms of Fibonacci series.
6. WAP to display whether the given number is Armstrong number or not
7. WAP to display all prime numbers in a range of numbers. For example, all prime numbers
between 500 to 1000
8. WAP to interchange first and last elements in a list.
9. WAP to find the largest and smallest number in a list.
10. WAP to reversing a list
11. WAP to count occurrences of an element in a list
12. WAP to find the sum all numbers in a list
13. WAP to count the numerical and string values in a list
14. WAP to remove an element from a list. Get list and element to remove from user. Display
the array after removing the element. Display message if element is not present.
15. WAP to find sum and average of List in Python