You are on page 1of 2

Class 10 Computer Application - Ch 9 Python Conditionals and Loops

Programs using if-else (conditional statement), and ‘for’ and ‘while’ (looping
statement):-
Program 9.1: Program to obtain three integers and print the largest among the
three. Make use of only if statement.

Program 9.2: Program which receives a number and analyse if the provided
number is odd or even.

Program 9.3: Program to print every vegetable in a vegetable list.

Program 9.4: Program to print table of a particular number, say 10.

Page 1 of 2
Program 9.5: Program to print sum of natural numbers between 1 and 15.

Program 9.6: Program for computing and printing the sums of odd and even
integers of the first n natural numbers.

Program 9.7: Write a Python program to print squares of first 8 natural


numbers.

**** Given above are the Python programs of Ch 9, given in the book (pg 236, 238, 239). They have
been corrected as the book has a few errors, which you have already corrected before the practical
period.

Write the above programs in the copy and learn them for the final examination. Submit the copy
for internal marks after re-opening.

Page 2 of 2

You might also like