X Record Works
X Record Works
25. Write program in python to Accept a Number and Display the Multiplication Table of a Number
26. Write program in python to Accept a Number and Display the Factors of it.
27. Write program in python to Input a positive integer and find its factorial. n! = 1x2x3x…x n 28. Write
program in python to Input a list find sum of all numerical values present in it. 28. Write program in
python to Input a list of integers. If integer is even divide it by 2. If integer is odd multiply by 2. Display
both input and output lists.
29. Write a Python Program to find the largest number in a list without using built in functions. 30.
Write a Python Program to find the smallest number in a list without using built in functions. 31. Write
a Python Program to Input a list of numbers and swap elements at the even location with the elements
at the odd location.
32. Write a Python Program to Input a list of elements, search for a given element in the list. 33.
Write a Python Program to Input a list of elements, find the minimum value from the list. 34. Write a
Python Program to Input a list of elements, find the maximum value from the list. 35. Write a Python
Program to accept a list of elements and find the count of Odd Numbers and Even
Numbers / elements in a List.
36. Write a Python Program to accept a list of elements and find the sum of Odd Numbers and Even
Numbers / elements in a List separately.
37. Write a Python Program to accept a list of elements and find the count the frequency of occurrence of an
element in a List.
38. Write the Python Program to accept a List of elements and Multiply the Odd elements by 7 and divide the
even Elements by 7and take the quotient.
39. Write the Python Program to accept the List of elements and insert a number into the List and arrange the
list elements in sorted order.
40. Write the Python Program to accept the List elements and find the second largest element in the List.
41. Write the Python Program to accept the List of elements and delete all the occurrences of an element
from the List.
42. Write the Python Program to accept the List of elements and display all Prime numbers in the List. 43.
Write the Python Program to accept the List of elements and display all Armstrong Numbers in the List.
( Armstrong Numbers are those numbers whose sum of cubes of its digits is the number itself )
44. Write the Python Program to accept two Lists of elements and Merge/concatenate/join them.
45. Write the Python Program to calculate the mean of a given List of numbers/elements. 46.
Write the Python Program to find the frequencies of all elements of a List.
47. Write the Python Program to input two lists and display the maximum element from the elements of both
the list combined, along with its index in its list.
48. Write the Python Program to find the sum of all elements in a List.
49. Write the Python Program to accept a List of elements and create two new lists, one having all positive
numbers and the other having all negative numbers from the given list. Print all three lists. 50. Write a
Python Program to read a List of integers and find the median.
(The Median Value of a list of values is the middle one when they are arranged in order. If there are two
middle values then take the average.)
51. Write the Python Program to read a list of elements. Modify this list so that it does not contain any
duplicate elements. i.e all elements occurring multiple times in the list should appear only once. 52.
Write the Python Program to reverse a list of integers.