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

Python Programming Lab

Uploaded by

palakchauhan006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Python Programming Lab

Uploaded by

palakchauhan006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Government Hydro Engineering College, Bandla

Distt. Bilaspur, HP- 174001


(July- Dec 2025)

PRACTICAL FILE
Python Programming Lab
(Code:-CSPC-312P)
Submitted By: Submitted To:
Name: Er. Ravi Kumar
Roll No: AP CSE GHEC
Branch & Semester: CSE 3rd
INDEX
Sr.No Name of the Experiment Page Date of Signature
No. Experiment
1. Demonstrate about Basics of Python Programming.

2. Demonstrate about fundamental Data types in Python


Programming. (i.e., int, float, complex, bool and string
types). Demonstrate the working of following functions
in Python. i) id() ii) type() iii) range().

3. Write a Python program to demonstrate various base


conversion functions.

4. Python program to demonstrate various type


conversion functions.

5. Demonstrate the following Operators in Python with


suitable examples:
i) Arithmetic Operators ii) Relational Operators iii)
Assignment Operator iv) Logical Operators v) Bit wise
Operators vi) Ternary Operator vii) Membership
Operators viii) Identity Operators.
Write Python programs to demonstrate the following:
i) Input() ii) print iii) 'sep' attribute iv) 'end' attribute v)
replacement Operator ({}).

6. Demonstrate the following Conditional statements in


Python with suitable examples.
i) if statement ii) if-else statement iii) if-else-if
statement.

7. Demonstrate the following Iterative statements in


Python with suitable examples.
i) while loop ii) for loop.

8. Write a Python program to demonstrate various ways


of accessing the string.
i) By using Indexing (Both Positive and Negative) ii) By
using Slice Operator.

9. Python program to perform read and write operations


on a file

You might also like