Assignment-4

 Learning Objective: Learn Lists and List operations

  1. Program to read list of names and sort the list in alphabetical order.
  2. Program to find the sum of all even numbers in a group of n numbers entered by the user.
  3. Program to read a string and remove the given words from the string.
  4. Find the average word length of a sentence
  5. Program to read list of numbers and find the median
  6. Read list of numbers and find the standard deviation. (#We can find median by sorting the list and then take the middle element. If the list contains even number of elements take the average of the two middle elements. squre root of variance is the standard deviation)
  7. Finding the mode of list of numbers(A number that appears most often is the mode.
  8. Program to remove all duplicate elements from a list
  9. Consider a list consisting of integers, floating point numbers and strings. Separate them into different lists depending on the data
  10. Write a Python program to read list of positive integers and separate the prime and composite numbers

Comments

Popular posts from this blog

Python For Engineers CST 445 KTU Open Elective Notes S7 - Dr Binu V P

Model Question Paper CST 445 KTU Python For Engineers