Professional Documents
Culture Documents
DATA505 - PRP: Assignment 2: Acceptable"
DATA505 - PRP: Assignment 2: Acceptable"
1. Initialize a list, L with 20 elements [100, 20, 8, 100, 13, 20, 5, 6, 90, 77, 4, 29, 33, 21,
-88, -15, 4,6, 77, 100]. Write a python program to remove duplicate elements in the
list, L.
3. Write a python program to count the number of times character ‘a’ occurs in a
word/sentence/paragraph entered by user.
----------------------------------------------------------------