mutta singh
mutta singh
WAP to input total number of sections and stream name in 11th class and display all
information on the output screen.
output:
Program-2
1
Output:
Program-3
Wap a program to create a dictionary with roll number ,name and marks of'n' students in a class
and display the names of students who have scored more than 75 per cent.
2
Output:
Program-4
3
Wap to input your friends' names and their phone numbers and store them in the dictionary as
the key-value pair.
(a) Display the name and phone no. of all your friends
(b) Add a new key value pair in the dictionary and display modified dictionary.
4
Output:
5
Program-5
Wap to enter names of employees and their salaries as input and store them in a
dictionary(using for loop).
Output:
6
Program-6
Write a python script to input a number and count the occurrences of that number in a given
list.
Output:
Program-7
Output:
7
Program-8
Output:
Program-9
Wap to exchange first-half elements of list with second-half elements assuming list is having
even number of elements.
l=[10,20,30,40,50,60,70]
Output:
Program=10
8
Output: