Edited
Edited
A PROJECT REPORT
Submitted by
BOGHARA ZANKHANA
200760107030
BACHELOR OF ENGINEERING
In
COMPUTER ENGINEERING
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
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
List of Symbols
lOMoARcPSD|32063116
Table of Contents\
CHAPTER.1: Introduction 10
1.1 Python 10
1.4 History 11
3.3 STRING
4.1 TUPLE
4.1.1Accessing Values in Tuples:
4.1.2Basic Tuples Operations
4.2 LIST
4.2.1Accessing Values in Lists:
5.1 SET
5.1.1 Accessing Values in Sets:
5.1.2 Set methods
5.2 DICTIONARIES
lOMoARcPSD|32063116
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
Abstract:
CHAPTER 1
INTRODUCTION
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