Professional Documents
Culture Documents
Lab Report 1
Lab Report 1
BS(CE)-2k19
LAB REPORT # 01
Submitted By:
Reg. No. 19-CE-020-008-038
Name: Muhammad Bilal Ahmed, Umair Ali,
Muhammad Faisal
Department of Computer Engineering
HITEC University Taxila
Presentation
(Format(0.5)+ Total
Title (0.5)+ Calculation Observation/
Conclusion(1) /Coding Program Results
+Theory(2)+
Objective(1))
Total 5 5 5 15
Obtained
__________________________
Lab Instructor.
Kaynat Rana
Experiment # 01
Title:
Introduction to Python and Basics Concepts.
Objective:
The objective of this lab is to learn the basics of Python language, how to install the software,
and learn some functions to perform the tasks.
Software Used:
Anaconda i.e. Spyder
Theory:
In this lab we learn that to install the software first we learn all the steps and see that where and
how to install. Then we learn the basics of the Python language. Then we learn the python
variable and learn that how to use them in our codes. In python variables we learn identifier
naming, declaring variables and assigning values and multiple assignments.
Then we learn python data types. In data types we learn standard data types, numbers, and
strings. Then we learn python keywords, Arithmetic operators, comparison and membership
operators. At the end we learn python for loop and complete the given tasks.
Tasks:
Task 1:
Code:
Output:
Task 2:
Code:
Output:
Task 3:
Code:
Output:
Conclusion:
In this lab we learned about python its basics, variables, operators, data types, loops and
functions.
At the end of the lab we practice examples and tasks which were given in the manual.