Python INTERSHIP REPORT
Python INTERSHIP REPORT
“Internship/Professional Practice on
Python”
Submitted for partial fulfilment of the requirement for the award of the degree
Of
Bachelor of Engineering
In
Electrical and Electronics Engineering
Submitted by
SHWETHA N 4AD17EE033
CERTIFICATE
This is to certify that the Internship report is a bonafide work carried out by
MAMATHA : 4AD17EE018, in partial fulfillment for the award of Bachelor of
Engineering in Electrical and Electronics Engineering, of the Visvesvaraya
Technological University, Belagavi - 590 018 during the year 2020-2021. It is certified that
all corrections/suggestions indicated for the Internal Assessment have been incorporated in
the report deposited in the departmental library. The Internship report has been approved as
it satisfies the academic requirements in respect of work prescribed for the said Degree.
External Examiners
1.
2.
DECLARATION
I, SHWETHA N: 4AD17EE033, student of VIII semester, Department of
Electrical and Electronics Engineering, ATME College of Engineering, Mysuru-
570028 declare that the Internship training has been successfully completed. This report is
submitted to Visvesvaraya Technological University, Belagavi-590 018, in partial
fulfilment of the requirements for the award of Degree of Bachelor of Engineering in
Electrical and Electronics Engineering during the academic year 2019-2020.
SHWETHA N 4AD17EE033
ACKNOWLEDGEMENT
I sincerely owe my gratitude to all the person who helped and guided me in
completing this Internship.
I take this opportunity to express my profound gratitude and deep regards to Dr.
Parthasarathy L, Head, Department of Electrical and Electronics Engineering,
ATME College of Engineering, Mysuru, for the continuous encouragement and
inspiration. The blessing, help and guidance given by him, time to time shall carry us a long
way in the journey of our life on which we are about to embark.
Lastly, I thank almighty, my parents and friends for their constant encouragement
without which this Internship would not be possible.
CHAPTER 1
1.2.1 Vision:
The vision statement of Routes technologies has grown totally outdated and will need to
be changed. It states no clear future position for the brand. It is also difficult to relate it with the
brand’s purpose. A vision statement provides guidance on how the brand can continue to move
into its future. Routes Technologies Vision statement talks of anything but the future. It does not
say anything about its employees, customers or even the business. From market size to market
position or other things, it does not provide the faintest inkling of how Routes technologies plans
to grow its business.
1.2.2 Mission:
The mission statement of Routes technologies is short and not very specific. There are two parts
of the mission statement. The first part is about shaping the future of the internet. Routes
technologies deals in products related to connectivity and communications. The second part is
about creating unprecedented value for all the stakeholders. However, the mission statement is
not detailed or specific in any of the two parts. It makes a generic statement about its business in
the first part and then about creating value for the stakeholders in the second. Apart from being
specific, it has to be feasible.
The following courses are provided:
Python
Java
Web development
Android
AutoCAD
3DS MAX
CHAPTER 2
PYTHON
2 PYTHON
1. Python works on different platforms (windows, mac, Linux, raspberry pi, etc ).
2. Python has a simple syntax similar to the English language.
3. Python has syntax that allows developers to write programs with fewer lines than some
other programming languages.
4. Python run on an interpreter system, meaning that code can be executed as soon as it is
written. This means that prototyping can be very quick.
5. Python can be treated in a procedural way, an object-oriented way or a functional way.
Python can be connected to database system, it can also read and modify files.
Python was designed for readability, and has some similarities to the English language
with influence from mathematics.
Python uses new lines to complete a command, as opposed to other programming
languages use semicolons or parentheses.
Python relies on indentation, using whitespace, to define scope, such as the scope of loops,
functions and classes. Other programming languages often use curly-brackets for this
purpose.
2. Python is Interactive:
You can use python prompt and interact with interpreter directly to write your
program.
Unlike other Programming language we are not supposed to specify the type of
the data while storing within a variable. Hence Python is called "Dynamically Typed
Programming language"
Identifiers are the names given to the entities like class, functions, variables etc in python.
It helps differentiating one entity from another.
2.11 Variables:
2.12 Constant:
Constant is a type of variable those value can’t change it is helpful to think constant as
container that hold, which cannot be change. Assigning value to the constant in python
constant are usually declared and assign on a “Module”.
The module means a new file containing “Variable”, “Function” etc which is
imported to a main file. Inside module that constant are written in upper case letter and
underscore separating the words.
Creating a name that make (it should make some sence that has some information about
what type of data we are storing)
LIST
Tuple
Set
Dictionary
Strings
2.12.1 INT:
Python is a Dynamic type language i.e, a variable in python need not be declared.
Depending upon value which is sign to the variable that type is automatically Declare.
Example:
a=56
print(a)
print(type(a))
Output:
56
<class ‘int’>
2.12.2 LIST:
2.12.3 TUPLE:
A tuple is similar to list it is order collection of data however the difference between
the list and tuple is that “ List is Mutable ” whereas “ Tuple is Immutable”.
Tuples once created it cannot be modified. Tuples are used to write protect data and
are usually faster than list as it cannot change dynamically.
Example:
a= (1,2,3,4,5)
print (a)
print(type(a))
Output:
(1,2,3,4,5)
<class ‘tuple’>
2.12.4 DICTIONARY:
2.12.5 STRINGS :
Strings in Python is a ordered collection of series of characters. A string is a sequence of
characters enclosed within single quotes or double quotes. Strings are immutable in python. It
will preserve the Order of insertion i.e., the data(character) would be stored using indexing. We
can access the data stored within a String
Example:
s='sandesh'
print(s)
Output:
sandesh
Bytes data type represents a group of byte numbers. The allowed values for byte is
from 0 to 255. bytes data type is immutable. Once we create bytes data type value we can
not change the value. bytes() is used to create bytes data type. It will preserve the Order
of insertion i.e. the data would be stored using indexing. We can access the data stored
within a byte’s data type using indexing.
Example:
lst = [10,20,30,40]
print(lst) --> [10, 20, 30, 40
print(type(lst)) --> <class 'list'>
Output:
[10, 20, 30, 40]
<class ‘list’>
The break statement terminates the loop containing it. Control of the program flows to
the statement immediately after the body of the loop.If break statement is inside a nested loop
(loop inside another loop), break will terminate the innermost loop.
Syntax of break:
Break
The continue statement is used to skip the rest of the code inside a loop for the current
iteration only. Loop does not terminate but continues on with the next iteration.
Syntax of Continue:
Continue
2.14 Functions:
Syntax of Function:
def function_name(parameters):
"""docstring"""
statement(s)
Department of Electrical and Electronics Engineering, ATMECE, Mysuru Page: 13
Internship/Professional Practice on Python 2020-2021
2.15 Operators
Operator is a Symbol which performs some operations/tasks.
2.15.1 Arithmetic operator:
There are totally 7 Arithmetic Operators in Python as follows
+ --> Addition
- --> Subtraction
* --> Multiplication
/ --> Division
% --> Modulo operator
// --> Floor Division
** --> Power operator/ Exponent Operator
2.15.2 Relational Operator/Comparison operator:
There are 4 Relational operator
>
<
>=
<=
Example:
a=10
b=20
print(a>b) --> False
print(a<b) --> True
print(a<=b) --> True
print(a>=b) --> False
Example:
print(10==20) --> False
print(1==True) --> True
print(0==False) --> True
print(10==10.0) --> True
print(10==10.6) --> False
Department of Electrical and Electronics Engineering, ATMECE, Mysuru Page: 14
Internship/Professional Practice on Python 2020-2021
NOTE:
Incase of Chaining of Equality Operator if any of the comparison is False then the
o/p is False else True
If == operator is used b/w the operants then the data(value) would be compared
Inorder to compare the address of the object we have to make use of 'is'
operator Difference b/w == operator and is operator:
== operator is used to compare the values whereas 'is' operator is used to compare the address
of the object
Example:
Example:
print(4&5) --> 4
print(4|5) --> 5
print(4|True) --> 5
print(4^5) --> 1
Example:
print(10<<2) --> 40
print(10>>2) --> 2
3.3.7Assignment Operator:
= --> Assignment Operator
Example:
x=10
print(x) --> 10
print(id(x)) --> 1000
x=x+2 / x+=2(Compound Assignment operator) print(x) --> 12
print(id(x)) --> 2000 x=x*4 / x*=4
print(x) --> 48
NOTE:
In case of Python there is no PostIncrement or PostDecrement Operations, but if we try to perform
PreIncrement or PreDecrement then there will be no change in o/p
Inside print() if we take + or - then it will considered as Operator
Chapter 3
Case study
3 CASE STUDY
The main purpose of this case study is to get accurate results of covid 19 reports around the world
and of specific countries.
CODE
OUTPUT
CHAPTER 4
APPLICATIONS, ADVANTAGES AND DISADVANTAGES
4.1 APPLICATIONS
4.2 ADVANTAGES
4.3 DISADVANTAGES
CHAPTER 5
INTERNSHIP OUTCOME
5 OUTCOME
The internship at Routes technologies and Construction has let me gain the knowledge of
Python programming language and also get to know about real time applications of python in
various sectors. The following things have been learned during internship.
Learned about the data types
Learned about running programs in IDLE , IDE, Sublimetext, Pycharm, Online
Python Editors.
Learned about memory allocation .
Problem solving by using python programming language.
Learned about ML and AI using python.
CHAPTER 6
CONCLUSION
6 CONCLUSION
This Internship has helped us to understand concepts of Programs and has given a
overview of types of Python, features and its components. It has also helped us understand the
different types of Data types and operators functions of python, concept of assigning of values to
date types and also learn the flow control, Input and Output operation, user defined functions and
it’s types and Arguments and it’s types. Gain the knowledge about Recursive function, reduced
function, Module and creation of module, Packages in Python and creation of packages.
REFERENCE
1. Guttag, John V. (12 August 2016). Introduction to Computation and Programming Using
Python: With Application to Understanding Data. MIT Press. ISBN 978-0-262-52962-4.
2. ^ "Python 3.9.2 and 3.8.8 are now available". 19 February 2021. Retrieved 19
February2021.
3. ^ "Python 3.10.0a6 is now available for testing". 1 March 2021. Retrieved 2 March 2021.
4. ^ "Why is Python a dynamic language and also a strongly typed language - Python
Wiki". wiki.python.org. Retrieved 27 January 2021.
5. ^ "PEP 483 -- The Theory of Type Hints". Python.org.
6. ^ File extension .pyo was removed in Python 3.5. See PEP 0488
7. ^ Holth, Moore (30 March 2014). "PEP 0441 -- Improving Python ZIP Application
Support". Retrieved 12 November 2015.
8. ^ "Starlark Language". Retrieved 25 May 2019.
9. ^ Jump up to:a b "Why was Python created in the first place?". General Python FAQ.
Python Software Foundation. Retrieved 22 March 2007.
10. Esterbrook, Charles. "Acknowledgements". cobra-language.com. Cobra Language.
Retrieved 7 April 2010.
11. ^ Lattner, Chris (3 June 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3
June 2014. I started work on the Swift Programming Language in July of 2010^ Kupries,
Andreas; Fellows, Donal K. (14 September 2000). "TIP #3: TIP Format". tcl.tk. Tcl
Developer Xchange. Retrieved 24 November 2008.
12. ^ Gustafsson, Per; Niskanen, Raimo (29 January 2007). "EEP 1: EEP Purpose and
Guidelines". erlang.org. Retrieved 19 April 2011.
13. ^ "Swift Evolution Process". Swift Programming Language Evolution repository on
GitHub. 18 February 2020. Retrieved 27 April 2020.