0% found this document useful (0 votes)
167 views3 pages

Practical File - AI Class 9

Uploaded by

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

Practical File - AI Class 9

Uploaded by

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

VENKATESHWAR GLOBAL SCHOOL

Session 2024-2025
ARTIFICIAL INTELLIGENCE (417)
PRACTICAL FILE

Submitted by:
Name:
Class & Sec:
Roll no:
INDEX
1. Write a Python program to ask for the user’s name and address and print the same
in the given format.
Name:
Last Name:
Address:
2. Write a Python program to print numbers from 1 to 10.
3. If X=10 and Y=50, write a Python program to perform all the arithmetic
operations.
4. Write a Python program to calculate the area of a right-angled triangle.
5. Write a Python program to check whether the input number is prime or not.
6. Write a Python program to ask the user for their exam score out of 100 and based
on the score, print their grade according to the following criteria.
Marks Grade
90+ A
80-89 B
70-79 C
60-69 D
50-59 E
BELOW 50 FAIL
7. Write a Python program to print all even numbers from 1-20.
8. Write a Python program to print a multiplication table of entered numbers.
9. Write a Python program that takes input of the temperature in Celsius from the
user and converts it to Fahrenheit and Kelvin.
Fahrenheit= 1.8* Celsius +32
Kelvin= 273.15 + Celsius
10.Write a Python program to implement an increment to the employees based on
their appraisal score.
Appraisal Score Rate of Increment
0-10 3%
11-30 5%
31-50 8%
51-80 10%
81-100 15%
11.Write a Python program to find the length of the list and simply swap the first
element with the last element.
A = [10,23,45,67,89,0]
12.Write a Python program to create a list fruits= [‘apple’, ‘mango’, ‘grapes’]. Add
‘banana’ and ‘strawberry’ at the end of the list using the list function.

You might also like