0% found this document useful (0 votes)
49 views

Edited

The document is a project report submitted by Boghara Zankhana to Gujarat Technological University in partial fulfillment of a Bachelor of Engineering degree. It covers learning Python programming through a summer internship at OceanmTech under the guidance of Milan Bharadia. The report includes chapters on installing Python, data types and operators, tuples and lists, sets and dictionaries, loops and conditional statements, and concludes with learning how to execute basic Python code and programs.

Uploaded by

Meet Boghara
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)
49 views

Edited

The document is a project report submitted by Boghara Zankhana to Gujarat Technological University in partial fulfillment of a Bachelor of Engineering degree. It covers learning Python programming through a summer internship at OceanmTech under the guidance of Milan Bharadia. The report includes chapters on installing Python, data types and operators, tuples and lists, sets and dictionaries, loops and conditional statements, and concludes with learning how to execute basic Python code and programs.

Uploaded by

Meet Boghara
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/ 17

lOMoARcPSD|32063116

LEARN PYTHON PROGRAMMING

A PROJECT REPORT

Submitted by

BOGHARA ZANKHANA

200760107030

In partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING

In

COMPUTER ENGINEERING

SHREE SWAMI ATMANAND SARASWATI INSTITUTE OF


TECHNOLOGY, SURAT

Gujarat Technological University, Ahmedabad

July, 2023
lOMoARcPSD|32063116
lOMoARcPSD|32063116

SSASIT
Surat

CERTIFICATE

This is to certify that internship report submitted along with the project entitled

Learn Python Programming has been carried out by Boghara Zankhana under

my guidance in partial fulfillment for the degree of Bachelor of Engineering in

Computer, 7th Semester of Gujarat Technological University, Ahmedabad during

academic year 2022-23.

Prof. Parul Vaghmashi Prof. Chirag Patel


Internship Coordinator Head of Department
lOMoARcPSD|32063116
lOMoARcPSD|32063116

SSASIT
Surat

DECLARATION
I hereby declare that the Internship report submitted along with the Internship Project
entitled Learn Python Programming submitted in partial fulfillment for the degree
of Bachelor of engineering in Computer Engineering to Gujarat Technological
University, Ahmedabad, is a bonafide record of original project work carried out by
me at OceanmTech under the supervision of Milan Bharadia and that no part of this
report had been directly copied from any students’ reports or taken from any other
source, without providing due reference.
lOMoARcPSD|32063116

Acknowledgement
The success of any task relies on the efforts made by person but it cannot be achieved
without cooperation of other persons which are being helpful. So, we would like to
thank SHREE SWAMI ATMANAND SARASWATI INSTITUTE OF
TECHNOLOGY and OceanmTech for giving us the opportunity of doing this
Summer Internship.
The entire session of our internship completion was a great experience providing us
with the insight & invocation into learning various software engineering concepts &
benefits of team work. We would like to take this opportunity to express our sincere
thanks to all those people without whose support and co-operation, it would have
been difficult to complete this project.
Primarily, we are very much thankful to our Internship Mentor Mr. Milan Bharadia
and PMMS Internship guide Prof. Parul Vaghmashi for their leading guidance and
sincere efforts throughout project work. They took deep interest in simplifying the
difficulties. Also, they have been consistent source of inspiration for us.
We also express thanks to Prof. Dipali Shah class coordinator for her personal
involvement, constructive suggestion, and thoughtful idea for betterment of the
project.
We are grateful to our H.O.D. Prof. Chirag Patel and our beloved Principal
Prof. Jignesh Vaghasia for providing us deep knowledge and all necessary
resources.
We are also thankful to our Friends and Non-teaching Staff for their valuable time
& help for completion project.
Once, again we are grateful to all those without whom this this work would not have
been successful.

Boghara Zankhana
lOMoARcPSD|32063116

ABSTRACT
Python is a general-purpose programming language that is becoming ever more popular for data
science. Python is an interpreted, object-oriented, high-level programming language. The edit-test-
debug cycle is incredibly fast. Most of the Data scientist uses Python because it provides great
functionality to deal with mathematics, statistics, and scientific function. Data science continues to
evolve as one of the most promising and in-demand career paths for skilled professionals. I
performed a Recommender system. A Recommender system, or a recommendation system, can be
thought of as a subclass of information filtering system that seeks to predict the best “rating” or
“preference” a user would give to an item which is typically obtained by optimizing for objectives
like total clicks, total revenue, and overall sales. The objective of a recommendation system is to
recommend relevant items for users, based on their preference. Preference and relevance are
subjective, and they are generally inferred by items users have consumed previously. Data Science
and analysis is playing the most significant role today covering every industry in the market. For
e.g., finance, e-commerce, business, education, government. Now organizations play a 360-degree
role to analyze the behavior and interest of their customers to take decisions in favor of them. Data
is analyzed through programming language such as python which is one of the most versatile
languages and helps in doing a lot of things through it. Netflixis a pure data science project that
reached at the top through analyzing every single interest of their customers.
lOMoARcPSD|32063116

List of Figures
Fig 2.1 Website of Python………………………………………….………………
Fig 2.2 Version of Python………………………………………………………….
Fig 2.3 Downloading Python………………………………………………………
Fig 2.4 Selecting an installer for your system …………………………………….
Fig 2.5 Running the downloaded file………………………………………………
Fig 2.6 Completing the download………………………………………………….
Fig 2.7 Customization………………………………………….…………………..
Fig 2.8 Finishing the process of installation……………………………………….
Fig 2.9 Creating variable…………………………………………………………
Fig 2.10 Naming a path for your code……………………………………………
Fig 2.11 Starting Python by selection IDLE…………………………………………
Fig 2.12 Using print directive……………………………………………………..
Fig 2.13 Python Virtual Machine………………………………………………….
lOMoARcPSD|32063116

List of Tables
Table 3.1 Built in data types
Table 3.2 Setting the data type

Table 3.3 String functions


Table 3.4 Arithmetic Operator
Table 3.5 Assignment Operator
Table 3.6 Comparison Operators
Table 3.7 Logical Operators
Table 3.8 Identity Operators
Table 3.9 Membership Operator
Table 3.10 Bitwise Operator
Table 3.11 Operator precedence
Table 4.1 Tuple Operations
Table 4.2 Tuple Functions
Table 4.3 Basic list operation

Table 4.4 Built-in List Functions & Methods:

Table 4.5 Python includes following list methods

Table 5.1 Set methods


Table 6.1 Types of loops
Table 6.2 Types of decision-making statements

List of Symbols
lOMoARcPSD|32063116

Table of Contents\

CHAPTER.1: Introduction 10

1.1 Python 10

1.2 Scripting Language 10

1.3 Object Oriented Programming 11

1.4 History 11

1.5 Behind the Scene of python

CHAPTER 2 Downloading & Installing Python

2.1 Downloading Python

2.2 INSTALLING PYTHON

2.3 Setup the path variable

2.4 RUNNING THE PYTHON IDE

2.5 PYTHON CODE EXECUTION

CHAPTER 3: Data Types & Operator


3.1 VARIABLE
lOMoARcPSD|32063116

3.2.1 Variable names


3.2.2 Assign Multiple Values
3.2 DATA TYPE

3.3 STRING

3.4 Python Operator

3.4.1 Arithmetic Operator

3.4.2 Assignment Operator

3.4.3 Comparison Operators


3.4.4 Logical Operators

3.4.5 Identity Operators

3.5.6 Membership Operators

3.5.7 Bitwise Operators

3.5.8 Operator Precedence

CHAPTER 4: TUPLE & LIST

4.1 TUPLE
4.1.1Accessing Values in Tuples:
4.1.2Basic Tuples Operations
4.2 LIST
4.2.1Accessing Values in Lists:

CHAPTER 5: SET & DICTIONARY

5.1 SET
5.1.1 Accessing Values in Sets:
5.1.2 Set methods

5.2 DICTIONARIES
lOMoARcPSD|32063116

5.2.1 Accessing items


5.2.2 Dictionary methods

CHAPTER 6: LOOPS & CONDITIONAL STATEMENTS

6.1 LOOPS
6.2 CONDITIONAL STATEMENTS:
lOMoARcPSD|32063116

Conclusion:
Thus, we successfully learned how to install and execute code in python, how to
do simple code in python. Also, we have learned how to perform arithmetic
operations in python. Also learned how to take inputs from users and then use that.
Have also learned to execute conditional statement in python. Have also learned
how to use loops in python.
How does Python works?

 Step 1: The python compiler reads a python source code or instruction. Then
it verifies that the instruction is well-formatted, i.e. it checks the syntax of each
line. If it encounters an error, it immediately halts the translation and shows an
error message.
 Step 2: If there is no error, i.e. if the python instruction or source code is
well-formatted then the compiler translates it into its equivalent form in an
intermediate language called “Byte code”.
 Step 3: Byte code is then sent to the Python Virtual Machine(PVM)
which is the python interpreter. PVM converts the python byte code into
machine-executable code. If an error occurs during this interpretation then
the conversion is halted with an error message.
Software and Hardware Requirements:

1. HARDWARE REQUIREMENTS
1) i3 Processor with Minimum 500 GB HDD
2) 8GB Memory

SOFTWARE REQUIREMENTS
The software requirements include:

1) VS Code.

2) Pygame-Python Library.

References:

1. https://www.geeksforgeeks.org/Pygame-python/

2. https://www.pygame.org/project/5614

https://www.javatpoint.com/pygame
lOMoARcPSD|32063116

PYTHON PROGRAMMING LANGUAGE

Abstract:

Python is an interpreted, object-oriented, high-level programming language with


dynamic semantics. Its high-level built in data structures, combined with
dynamic typing and dynamic binding, make it very attractive for Rapid
Application Development, as well as for use as a scripting or glue language to
connect existing components together. Python's simple, easy to learn syntax
emphasizes readability and therefore reduces the cost of program maintenance.
Python supports modules and packages, which encourages program modularity
and code reuse. The Python interpreter and the extensive standard library are
available in source or binary form without charge for all major platforms, and can
be freely distributed.
lOMoARcPSD|32063116

CHAPTER 1
INTRODUCTION

1.1 INTRODUCTION TO PYTHON


Python is a widely used general-purpose, high level programming language. It was
created by Guido van Rossum in 1991 and further developed by the Python Software
Foundation. It was designed with an emphasis on code readability, and its syntax allows
programmers to express their concepts in fewer lines of code. is a programming language
that lets you work quickly and integrate systems more efficiently. There are two major
Python versions: Python 2 and Python 3. Both are quite different.
Python is a high-level, interpreted, and general-purpose dynamic programming language
that focuses on code readability. It has fewer steps when compared to Java and C. It was founded in
1991 by developer Guido Van Rossum. Python ranks among the most popular and fastest-growing
languages in the world. Python is a powerful, flexible, and easy-to-use language. In addition, the
community is very active there. It is used in many organizations as it supports multiple
programming paradigms. It also performs automatic memory management.

1.2 COMMON USE OF PYTHON


Python can be used for:
1. AI and machine learning
2. Data analytics
3. Data visualization
4. Programming applications
5. Web development
6. Game development
7. Language development
8. Finance
9. SEO(search engine optimization)
10. Design, etc.

1.3 FEATURES OF PYTHON


1.4 MODULE IN PYTHON

Objectives
 Master the fundamentals of writing Python scripts
 Learn core Python scripting elements such as variables and flow
control structures
 Discover how to work with lists and sequence data
 Write Python functions to facilitate code reuse
 Use Python to read and write files
 Make their code robust by handling errors and exceptions properly
 Work with the Python standard library
lOMoARcPSD|32063116

 Explore Python's object-oriented features


 Search text using regular expressions
lOMoARcPSD|32063116

You might also like