0% found this document useful (0 votes)
34 views2 pages

9 AI Practical -file python programs 2

The document outlines a practical list for Grade 9 Artificial Intelligence students at G.D. Goenka Global School for the 2024-2025 session. It includes a series of Python programming tasks, such as writing simple programs, working with lists and tuples, calculating areas, and performing mathematical operations. The tasks aim to enhance students' programming skills and understanding of basic concepts in Python.

Uploaded by

madhurita147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

9 AI Practical -file python programs 2

The document outlines a practical list for Grade 9 Artificial Intelligence students at G.D. Goenka Global School for the 2024-2025 session. It includes a series of Python programming tasks, such as writing simple programs, working with lists and tuples, calculating areas, and performing mathematical operations. The tasks aim to enhance students' programming skills and understanding of basic concepts in Python.

Uploaded by

madhurita147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

G.D.

GOENKA GLOBAL SCHOOL


a radiant future begins today…
Grade 9 Artificial Intelligence (417) Practical List
for Session 2024-2025

1. Write a simple python program in a Text Editor to print “Hello world”.


2. Write a simple python program to assign same value to multiple variables.
3. Write a simple python program to assign multiple values to multiple variables.
4. Write a simple python program using single line comment and multiline
comment.
5. Write a simple python program to get the input from the user interactively using
the built-in function input ().
6. Write a simple python program to get the input from the user and use int () or float
() function with the read value to change the type.
7. Create a List and a Tuple and print it to user.
8. Write a python program to print the area of a circle of radius 3.75 meters.
9. Write a simple python program to obtain three numbers and print their sum.
10. Write a simple python program to obtain length and breadth of a rectangle and
calculate the area.
11. Print area of circle, square and rectangle asking inputs from users.
12. To obtain temperatures of 07 days and then display average temperature of the
week.
13. Python program to check if number entered by user is prime or not.
14. Check is year is leap or not asking year from user.
15. Print Fibonacci series between the ranges given using for loop.
16. Print factorial of a number using for loop.
17. Print table of any no given by user.
18. Program to find the weather a number is prime or not.
19. Python program to find sum of digits of a number using for loop.
20. Program to find Body Mass Index (BMI) of a person taking input of weight in kg and
Height in meter. BMI=kg/m2
21. Create a list in Python of children selected for science quiz with the following
names- Arjun, Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik Perform the following
tasks 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 item which is in the second position.
22. Create a list num=[23,12,5,9,65,44]
 print the length of the list
 print the elements from second to fourth position using positive indexing
 print the elements from position third to fifth using negative indexing

You might also like