0% found this document useful (0 votes)
8 views4 pages

Ai Practical File Ix 2024 (1)

The document is a practical file for a Python programming course for Grade IX students at BCM Aray School. It includes a list of practical assignments for the academic year 2024-24, covering various programming tasks such as printing personal information, performing arithmetic operations, and manipulating lists. The first practical example provided demonstrates how to print personal information using Python code.

Uploaded by

preetikaushalbcm
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)
8 views4 pages

Ai Practical File Ix 2024 (1)

The document is a practical file for a Python programming course for Grade IX students at BCM Aray School. It includes a list of practical assignments for the academic year 2024-24, covering various programming tasks such as printing personal information, performing arithmetic operations, and manipulating lists. The first practical example provided demonstrates how to print personal information using Python code.

Uploaded by

preetikaushalbcm
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/ 4

PRACTICAL FILE

PYTHON

Student Name :

Grade : IX - PYTHON

Roll No. :

BCM ARAY SCHOOL (Sr. Sec.)


Singla-Enclave, Lalton-Dolon Khurd, Ludhiana

Contact: 01615206600, 62845-56494


Email- bcmlalton@gmail.com, www.bcmaryaschool.com
INDEX
PRACTICAL FILE- PYTHON

LIST OF PRACTICALS (2024-24) CLASS-X

Programming Language : Python

Sr. No Name of Practical


1 To print personal information like Name, Father’s Name, Class, and School Name.
2 find the square of the number 7.
3 Program To find the sum of two numbers 15 and 20.
4 Program To convert the length given in kilometres into meters.
5 Program To print the table of 5 up to five terms.
6 Program To calculate Simple Interest if the principle_amount = 2000 rate_of_interest = 4.5
time = 10.
7 Program To calculate the Area and Perimeter of a rectangle

8 Program To calculate the Area of a triangle with Base and Height

9 Program To calculate average marks of 3 subjects

10 Input a number and check if the number is positive, negative or zero and display an
appropriate message
11 Write a Program to print the first 10 even numbers

12 Write a Program To print odd numbers from 1 to n


13 Write a Program To print the sum of the first 10 natural numbers

14 Create a list List_1=[10,20,30,40]. Add the elements [14,15,12] using the extend function.
Now sort the final list in ascending order and print it.
15 print the elements from position third to fifth using negative indexing
Program 1: To print personal information like Name, Father’s Name, Class, and School Name.

# To print personal information like Name, Father’s Name, Class, and School Name.

name = "John Doe"


father_name = "Richard Doe"
class_name = "10th Grade"
school_name = "XYZ School"

# Printing the personal information


print("Name:", name)
print("Father's Name:", father_name)
print("Class:", class_name)
print("School Name:", school_name)

OUTPUT

Name: John Doe


Father's Name: Richard Doe
Class: 10th Grade
School Name: XYZ School
Page : 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy