Khushi Sec
Khushi Sec
CODE:
CODE:
3) WAP to evaluate the student performance based on %age of marks.
CODE:
CODE:
5) WAP to print odd numbers up to n
CODE:
CODE:
9) WAP to print all characters of a given string and count number of vowels.
CODE:
10) WAP to reverse a string and to replace part of string with another string.
CODE:
CODE:
13) WAP to check whether the student’s name is there in the class list.
CODE:
14) WAP that takes a list of lists as an input from user, where each sub-list comprise subject name and
corresponding marks. It should display sum total of marks.
CODE:
15) WAP to determine number of students who have obtained distinction (>=75).
CODE:
16) WAP that takes a list as an input and removes all occurrences of a particular value.
CODE:
17) WAP to delete name and corresponding roll number of student using lists.
CODE:
18) WAP to arrange the elements in a list in ascending order and then reverse the order of the elements.
CODE:
CODE:
20) WAP to determine if a specified item is present in a tuple.
CODE:
CODE:
22) WAP to create a dictionary which has record of student information: {Admission No ,Roll No, Name,
Marks}. Display information on the basis of <admission no>.
CODE:
23) WAP which takes input from user for shape for which area to be calculated and then calculates area
of circle, rectangle or square using user-defined functions.
CODE:
24) WAP to return Multiple Values from a function.
CODE:
CODE:
26) WAP to generate N Fibonacci numbers using recursion.
CODE:
CODE:
28) WAP to store marks scored by students using numpy.
CODE:
CODE:
30) WAP to create 1D/2D array of zeros and ones.
CODE:
CODE:
32) WAP to show indexing and slicing in 2D array.
CODE:
CODE:
34) WAP to draw a line from position (1, 3) to (2, 8), then to (6, 1), then to position (8, 10).
CODE:
CODE:
36) WAP to Display Histogram, Bar and Scatter type of graphs.
CODE:
37) Write a menu driven program to calculate area of circle, rectangle, square using if-elif-else.
CODE:
38) WAP to count number of vowels using sets in a string.
CODE:
39) WAP to read a list of N integers (positive and negative) 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.
CODE:
40) WAP to create a list of tuples from given list having number and its cube in each tuple.
CODE: