You are on page 1of 3

LAB ASSIGNMENT RECORD

On

ECS556
Python Programming (Lab)

COLLEGE OF COMPUTING SCIENCES AND INFORMATION


TECHNOLOGY
TMU, MORADABAD

AUG 2021 – DEC 2021

Submitted To: Submitted By:

Dr. RANJANA SHARMA (Student Name)


(Course, Semester, Section)
(University Roll Num)
Lab Assignment No: 1

S.NO PROGRAM NAME PAGE DATE SIGN REMARK


NO
1. Write a Python Program to add two given
Integer numbers
2. Write a Python Program to enter two floating
point numbers from keyboard and add those
numbers.
3. Write a Python Program to find the area of a
triangle.
4. Write a Python Program to swap two variables
without using third variable.
5. Write a python program to enter the age and
print if the person is eligible for voting.
6. Develop a python program to read the marks of
four subject and find the average marks scored
by each student. If student scores greater than
or equal ton 40%,he passed the exam. If he
score less than 40, he will fail.
7. Write a Python Program to check that a given
number is positive, negative or zero
8. Write a Python Program to check that a given
number is odd or even.
9. Write a Python Program to check leap year.

10 Write a Python Program to find the largest


number in given three numbers.
11. Write a Python Program to find out the sum of
natural numbers.
12 Write a Python Program to print the Fibonacci
series.

13 Write a Python Program to check that a given


number is Armstrong number or not.

14 Develop a python program to read the number


of the day(1 to 7) and display the name of the
day.1 for Sunday ,2 for Monday and so on.

15 Write a Python Program to Display the


multiplication table.
S.NO PROGRAM NAME PAGE NO DATE SIGN REMARK
1. Write a Python Program to Create
a String and print that string.

2. Write a Python Program to delete


a string.

3. Write a Python Program to access


the characters of a String.
4. Write Python Program to perform
operations on strings.

5. Write a Python Program to check


a given string is palindrome or
not.

6. Write a Python Program to count


number of characters in a string.

7. Write a Python Program to


comparison of two string.

8. Write a Python Program to create


an array and print the elements of
that array.
9. Write a Python Program to create
a list and display that list.

10 Write a Python program to use


the operators of a list.

11 Write a Python Program to create


a tuple and print.
12 Write Python Program to perform
operations on tuple.
13 Write Python Program to perform
operations on dictionary.
14 Write Python Program to
calculate angle(in degree) by
function.
15 Write a Python Program to find
out the factorial of a given
number.
16 Write a Python Program to display
Fibonacci series using Recursion.

You might also like