Question: PART - A ( 3 . 5 marks ) I. Q 1 . Write a python program to input a integer ( m ) and
PART A marks
I.
Q Write a python program to input a integerm and perform the operation as shown in the table using if elif else
Value of operation
Input marks and find the average and display
Input marks and find the maximum and display
Any other letter Display error
Q Define a Python function to receive width and height of a rectangle, calculate and return the area. Call this function and display the area.
PART B marks
Q Write a python program to find the sum of the following series using while loop.
Q Write a program to create a list consisting of numbers from keyboard using append function and for loop Using the for loop again in the list, display only the numbers that are greater than
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
