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

Python Programming-Lab Manual (Term 1) (1) - 1

Uploaded by

adithyanach
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)
15 views3 pages

Python Programming-Lab Manual (Term 1) (1) - 1

Uploaded by

adithyanach
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

PYTHON PROGRAMMING

LABORATORY MANUAL
COMPUTER SCIENCE
[2025-2026]

Topics Covered:

1. Different ways to
execute a Python
Program.
2. Python-Variables
3. Input and Output
statements in Python
programming Submitted by:
4. Overview on different Class/Sec:
Data types of Python. Exam No:
5. Various Operators of
Python programming.
6. Conditional
statements of Python
Programming
7. Python-Looping
Learning Objectives:

➢ To write, test, and debug simple Python programs.


➢ Learn about Python's syntax, including indentation, variables, and data types
(integers, strings, floats, and Booleans).
➢ Learn how to take user input and display output on the screen.
➢ Learn about arithmetic, comparison operators (e.g., ==, <, >) and Logical
operators in Python
➢ To implement Python programs with conditionals and loops.

Learning Outcomes: Upon completion of the course, students will be able to

➢ Write, test, and debug simple Python programs.


➢ Perform basic arithmetic operations (addition, subtraction, multiplication, and
division) in Python.
➢ Use conditional statements and loops to solve simple problems and write basic
algorithms.
➢ Work on small projects like a calculator, a to-do list, or a basic quiz game to apply
what you've learned.
INDEX

Sl.No. List of Programs Date Sign

1 Python program to print your name

2 Write a python program to find sum of 2 numbers.


Python program to find the area and perimeter of a rectangle.
3
Take length and breadth as input from the user.
Python program to accept the age from the user and check
4
whether he/she is eligible to vote or not. (if…else…)
Python program to check whether the figure is a square or a
5
rectangle based on their sides. (if…else…)
Write a Python Program to accept a number and find out if it is
6
even or odd. (if…else…)
Python program to find smallest among 2 numbers
7
(if…else…)
Program to find the largest among three numbers.
8
(if…elif…else..)
Python program to input the marks from users and print the
grades accordingly. (if…elif…else..)

Create a BMI (Body Mass Index) calculator in Python.


(if…elif…else..)

10

11 Create a simple calculator program using if…elif…else…

You might also like