Professional Documents
Culture Documents
Ict Prac
Ict Prac
2022 - 2023
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
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.