NO.
1 AIR FORCE SCHOOL
GWALIOR
NAME- Shraddha tiwari
CLASS and SECTION- XD
SUBJECT – Artificial intelligence
SUBMITTED ON- 4th December 2023
SUBMITTED TO- Mrs Saumya Sarswat
1|Page
ACKNOWLEDGMENT
I would want to convey my heartfelt gratitude to Mrs. Saumya Saraswat,
my Artificial intelligence teacher and my mentor, for her invaluable
advice and assistance in completing my project. She was there to assist me
every step of the way, and her motivation is what enabled me to
accomplish my task effectively.
I would also like to thank all of the other supporting personnel who
assisted me by supplying the equipment that was essential and vital,
without which I would not have been able to perform efficiently on this
project.
I would also want to thank my school- No.1 Air force school, Gwalior for
accepting my project in my desired field of expertise.
I’d also like to thank my friends and parents for their support and
encouragement as I worked on this assignment.
Shraddha tiwari- XD
4th December 2023
2|Page
INDEX
Serial Topic Page
no. no.
1 Front page 1
2 Acknowledgement 2
3 index 3
4 (Code1) Swapping numbers 4
5 (Code2)Area of circle 5
6 (Code3)Even or Odd number 6
7 (Code4)WELCOME x 10 7
8 (Code5)Even numbers between X and Y 8
9 (Code6)List using ‘for loop’ 9
10 (Code7)Palindrome numbers 10
11 (Code8)Greatest 4 digit number 11
12 (Code9)Marks- 1st division or Fail? 12
13 (Code10)Minimum and Maximum value in a list 13
14 (Code11)A list of 5 friends 14
15 (Code12)Remove a fruit and add a vegetable 15
16 (Code13)Factorial of a number 16
17 (Code14)Pattern using nested for loop 17
18 (Code15)Eligible for voting 18
19 Bibliography 19
Code 1- Swapping numbers
3|Page
Input
Output
4|Page
Code 2- Area of a circle
Input
Output
5|Page
Code 3- Even or odd number
Input
Output
or
6|Page
Code 4- WELCOME x 10
Input
Output
7|Page
Code 5- Even number between X and Y
Input
Output
8|Page
Code 6 List using ‘for loop’
Input
Output
9|Page
Code 7- Palindrome number
Input
Output
Or
10 | P a g e
Code 8- Greatest 4 digit number
Input
Output
11 | P a g e
Code 9- Marks- 1st division or fail?
Input
Output
or
or
or
Or
Or
Code 10- Minimum or Maximum value in a list
12 | P a g e
Input
Output
13 | P a g e
Code 11 A list of five friends
Input
Output
14 | P a g e
Code12 Remove a fruit , Add a vegetable
Input
Output
15 | P a g e
Code 13 Factorial of a number
Input
Output
16 | P a g e
Code 14- Pattern using nested for loop
Input
Output
17 | P a g e
Code 15- Eligible for voting
Input
Output
Or
Or
18 | P a g e
BIBLIOGRAPHY
I used this link for Downloading python in my computer so that I can code.
https://www.python.org/downloads/
I also used this book- Essentials of Artificial Intelligence by Kartik Sharma
for coding and syntax.
This book taught me a lot about Artificial Intelligence. I Bought this book on
https://www.amazon.in/Essentials-Artificial-Intelligence-Textbook
19 | P a g e
20 | P a g e