Professional Documents
Culture Documents
SCHOOL
ARTIFICIAL INTELLIGENCE
------------------------------------
Signature
INDEX
Sr.No. ASSIGNMENT Page No.
Output:-
Page no. 1
Ques 2) Write a Python program to convert Celsius measurement to
Fahrenheit.
Program:-
Page no. 2
Output:-
Ques 3) Write a Python program to find the area of a rectangle with values
of length and breadth.
Program:-
Page no. 3
Output:-
Page no. 4
Output:-
Ques 5) Write a Python program to accept name and address from a user
and display it.
Program:-
Page no. 5
Output:-
Ques 6) Write a Python program to accept side of a square and display the
area of a square.
Program:-
Page no. 6
Output:-
Page no. 7
Output:-
Ques 8) Write a Python program accept two numbers from user and display
the remainder.
Program:-
Page no. 8
Output:-
Ques 9) Write a Python program to accept hours from the user and display
equivalent minutes.
Program:-
Page no. 9
Output:-
Ques 10) Write a Python program to create a list containing elements [7, 8,
9, 10, 11] and add the element 12 to the list.
Program:-
Page no. 10
Output:-
Ques 11) Write a Python program to create a list containing eight numbers.
Replace the third and fifth number with the square of the numbers to their
immediate left.
Program:-
Page no. 11
Output:-
Ques 12) Write a Python program to input two numbers from the user and
display the sum and product of these numbers.
Program:-
Page no. 12
Output:-
Ques 13) Write a Python program which assigns values to four variables
and show their addition on the screen.
Program:-
Page no. 13
Output:-
Ques 14) Write a Python program for accepting five numbers from the user
and show their product on the screen.
Program:-
Page no. 14
Output:-
Ques 15) Write a Python program to take three numbers as input from the
user. Store these numbers in a list. Display their product on the screen.
Program:-
Page no. 15
Output:-
Page no. 16
Output:-
Page no. 17