Professional Documents
Culture Documents
Priyancy U
Priyancy U
Information :
Name ( Submitted by ) – Priyancy Upreti
Class and section – IX B
Roll number – 14
Admission Number – 3535
Subject – Artificial Intelligence (AI)
Mentor Details :
Submitted to – Ms. Sakshi Dixit ( TGT : Computer Science )
Submitted on – 17 / 01 / 2024
Teacher’s Signature
Project File Questions -:
Q1. Write a program to find the given number is positive or negative.
Q2. Write a program to find if the given number is prime or not.
Q3. Write a program to check if the given number is palindrome or not.
Q4. Write a program to check if the given number is Armstrong or not.
Q5. Write a program to find a factorial of a number.
Q6. Write a program to find a Fibonacci of a number.
Q7. Write a program to print the following pattern.
Guido van Rossum began working on Python in the late 1980s as a successor to
the ABC programming language and first released it in 1991 as Python.
Rather than building all of its functionality into its core, Python was designed to
be highly extensible via modules. This compact modularity has made it
particularly popular as a means of adding programmable interfaces to existing
applications. Van Rossum's vision of a small core language with a large standard
library and easily extensible interpreter stemmed from his frustrations with ABC,
which espoused the opposite approach.
Source Code –
Output –
Q2. Write a program to find if the given number is prime or
not.
Source Code –
Output –
Q3. Write a program to check if the given number is
palindrome or not.
Source Code-
Output –
Q.4 Write a program to check if the given number is
Armstrong or not.
Source Code-
Output –
Q. 5 Write a program to find a factorial of a number.
Source Code –
Output –
Q6. Write a program to find a Fibonacci of a number.
Source Code –
Output –
Q7. Write a program to print the following pattern.
Source Code –
Output –
Q8. Write a program to print the following pattern.
Source Code –
Output –
Q9. An electric power distribution company charges its
domestic consumers as follows:
Source Code –
Output –
Q. 10 Write a program to print a multiplication table of the
entered number by the user.
Source Code –
Output –