0% found this document useful (0 votes)
269 views

Python Questions Class 9

This document contains 12 questions about various Python programming tasks: 1) finding the square of 7, 2) summing 15 and 20, 3) converting kilometers to meters, 4) printing a 5-term table of 5, 5) calculating simple interest with principal of $2000 at 4.5% for 10 years, 6) calculating the area and perimeter of a rectangle, 7) calculating the area of a triangle given the base and height, 8) calculating the average of 3 subjects, 9) calculating a discounted amount with a discount percentage, 10) calculating the surface area and volume of a cuboid, 11) performing operations on a list of children's names for a science quiz, and 12) performing operations on a numeric list

Uploaded by

gsroshnimaps
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
269 views

Python Questions Class 9

This document contains 12 questions about various Python programming tasks: 1) finding the square of 7, 2) summing 15 and 20, 3) converting kilometers to meters, 4) printing a 5-term table of 5, 5) calculating simple interest with principal of $2000 at 4.5% for 10 years, 6) calculating the area and perimeter of a rectangle, 7) calculating the area of a triangle given the base and height, 8) calculating the average of 3 subjects, 9) calculating a discounted amount with a discount percentage, 10) calculating the surface area and volume of a cuboid, 11) performing operations on a list of children's names for a science quiz, and 12) performing operations on a numeric list

Uploaded by

gsroshnimaps
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Q1 To find square of number 7.

Q2 To find the sum of two numbers 15


and 20.

Q3 To convert length given in kilometres into


meters.
.
Q4 To print the table of 5 up to 5 terms

Q5 To calculate simple interest if the principle


amount is equal to 2000 rate of interest is equal to
4.5 times equal to 10
Q6 To calculate area and perimeter of a rectangle

Q7 To calculate area of a triangle with base and


height
Q8 To calculating average marks of three subject
Q9 To calculate discounted amount with discount
percentage

Q10 To calculate surface area and volume of a


cuboid
Q11Create a list in Python of children's selected for
science quiz with following names
Arjun ,Sonakshi ,Vikram, Sandhya ,Sonal, Isha, Kartik
perform the following task on the list in sequence
 print the whole list
 delete the name Vikram from the list
 add the name jay at the end
 remove the items which is at the second position
Q12 Create a list number (23, 12 ,5,9,65 ,44)
 print the length of the list
 print the element from second to four position
using positive indexing
 print the elements from position 3rd to 5th using
negative indexing

You might also like