Page 6 - PYTHON-11
P. 6
list.
15. WAP to display second largest element of a given
list.
16. WAP to display cumulative elements of a given
list.
17. WAP to display frequencies of all the elements of
a list.
18. WAP in Python to display those strings which are
string with ‘A’ of given list.
19. WAP in Python to find and display the sum of
all the values which are ending with 3 from a
list.
20. WAP to shift the negative number to left and
the positive numbers to right.
21. WAP to swap the content with next value
divisible by 7.
22. WAP to accept values from user and create a
tuple.
23. Write a program to input total number of
th
sections and stream name in 11 class and
display all information on the output screen.
24. Write a Python program to input names of ‘n’
countries and their capital and currency, store it
in a dictionary and display in tabular form. Also
search and display for a particular country.
SQL
25 Queries