You are on page 1of 2

D Y PATIL INTERNATIONAL SCHOOL

2022 - 2023

Name of the Student: ____________________________ Roll No: ___ Grade: 8 Date:_________

Subject: ICT Topic: Chapter 1 Worksheet No : ___

Q1 Write the python program for the following


to create a procedure to check if the number is even or odd

Write a python program to create a list to store colors. Stores 5 values in the list. Print the list
using for loop. Add a value using user input to the list. Calculate the length and display the
length of the list

To print a random number from 30 - 50

To add the first 10 numbers using procedures

To display factorial of a number using procedures with parameters

1
D Y PATIL INTERNATIONAL SCHOOL
2022 - 2023

Write a python program to create a file name as “your travel destination.txt”. Write two
sentences in the file and read from the file

Ask the user to enter two number. Create a procedure with parameters to take the two
numbers as input. print the largest number using procedure.

You might also like