Python 1
Python 1
BACHELOR OF ENGINEERING
in
ELECTRONICS AND COMMUNICATION ENGINEERING
By
Vamshi(1NC21EC107)
i
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
CERTIFICATE
This is to certify that the “Internship report” submitted by second year Vamshi
(1NC21EC107) is work done by him and submitted during 2022 – 2023 academic year of
BACHELOR OF ENGINEERING in ELECTRONICS AND COMMUNICATION at
NAGARJUNA COLLEGE OF ENGINEERING AND TECHNOLOGY.
ii
iii
ACKNOWLEDGEMENT
I would like to express our sincere thanks to Dr. Nagesh K N, Head of the Department,
Electronics and Communication Engineering, Nagarjuna College of Engineering and
Technology, Bengaluru, for his valuable suggestions and guidance throughout the period of
this internship.
I would like to thank our internship coordinator Mrs Rani B A, Assistant professor,
Department of Electronics and Communication Engineering Nagarjuna College of
Engineering and Technology, Bengaluru, for helping, guiding and strengthening us to
complete the Internship.
I am also thankful to the co-ordinator of TECHNICAL HUB for providing us this wonderful
opportunity.
Finally, I am very grateful for being a part of this internship program
Vamshi
1NC21EC107
iv
ABSTRACT
Now a days the technology is moving really very fast but we are not moving with respect to
it. For the working of every technology, we need to give the command automatically without
the help of people but only with the use of technology. But for giving the command there are
many programming languages present but they are little harder to learn and requires a lot of
time in learning it mastering it for giving the commands. But among the programming
language there is one language which is easy to learn and master it and that programming
language is named as “PYTHON”. For surviving in this world one we should have the
knowledge towards the language or we should have one particular skill. It is better to learn
the language than learning the skill because Python programming is easy than the skills.
Organization information:
• Code Mind is a platform that focuses on crafting a skilled individual.
• There unique and interactive scenario-based learning modules are designed to help a
student look at a problem in a life like perspective.
• They strongly believe that every mind isn’t alike, and therefore they give the student
a chance to express their opinion rather than trying to abide by a generalized one.
• The platform also guides students on how they should proceed with their goals and
helps them prepare for their dream job in a personalized way.
• It is a platform where it teaches the student to become excellent coders if they will to
learn it and it gives them good opportunity to use their skill and get succeed in life.
• It is very good platform to learn and gives a very much certified certificate only to the
eligible students who has attendance and completed the tasks given to them
v
Benefits through the learning of python programming:
• Career opportunities: Learning Python can help you get a developer job you love.
Python developers are in demand in both big companies (such as Netflix) and smaller
organizations and startups.
• Industry use cases: Python has applications across various industries. The language is
particularly a strong choice if you’re interested in areas such as machine learning, data
science, game development, and back-end web development.
• Learning curve: Python has very human-like syntax compared to other programming
languages. This can make the learning curve quite easy for beginners. As previously
mentioned though, you may initially experience the opposite effect if you’re used to
other programming languages.
• Flexibility of a multi-paradigm language: Python supports multiple programming
paradigms. You can use Python for functional programming, object-oriented
programming, and procedural programming.
•
Programs and the opportunities through the language:
Python developer is one of the top career choices for anyone willing to invest long hours
practicing programming skills. Since the value of technology integration went up many times
ago, the position of a Python developer is nearly inevitable in associations. While there’s a
high demand for Python developers in India, the supply is really, really low. To testify this,
we’ll take account of an HR professional statement. The professional was expected to recruit
10 programmers each for both Java and Python. About a hundred good resumes flooded in
for Java, but they received only 8 good ones for Python. So, while they had to go through a
long process to filter out good candidates, with Python, they had no choice but to take those 8
candidates. What does this tell you about the situation? Even though Python has easy syntax,
we really need more people in India to upskill themselves. This is what makes it a great
opportunity for Indians to get skilled in python. When we talk about the number of jobs, there
may not be too many for Python in India. But we have an excellent number of jobs per
Python programmer.
vi
These impressive salary numbers in Python are available at various job profiles too.
According to PayScale, Python skills draw a salary of about $62,878 per year and more in the
US. The figures get higher with increasing qualifications/ certifications and experience. It is
one of the fastest-growing programming languages and the growth is steady without any
threat. It has taken importance equal to that of Java, C, C++ and even more than these,
currently and in the coming years. Large companies adopting Python for their server-based
and small projects are boosting the demand for python.
Methodologies:
During the time of internship at first, they took offline classes with three lecturers from the
company itself. At first, they thought all the theory concepts related to the python step by step
later they thought us how to implement those in programming. They thought us basic
programming like averages, addition etc basic programming in the starting stage. Later they
thought some intermediate and difficult programs easily by explaining the logic and scenario
of the programs. This methodology gives more interest and idea/logic over the concepts to
the students.
• Even the Non-Programmers can learn it easily and can apply for the jobs of data
analytics and they can also use it in machine learning.
• Python is used to solve mathematic problems for school and engineering students.
vii
Now let us compare and see the difference between the python and C++ through an
simple example: Now let us see an example of Fibonacci sequence, first let us understand
what is Fibonacci sequence. The Fibonacci sequence is a series of numbers where each
number is the sum of the two preceding numbers. The sequence starts with 0 and 1, and then
the next number is 0 + 1 = 1, the next number is 1 + 1 = 2, and so on. The Fibonacci sequence
is named after the Italian mathematician Leonardo Fibonacci, who introduced it to Western
European mathematics in his 1202 book Liber Abaci. The sequence has been found in many
different places in nature, including the arrangement of leaves on a stem, the spiral patterns of
seashells, and the branching patterns of trees. The Fibonacci sequence can also be used in
finance and trading to identify potential support and resistance levels. The Fibonacci
retracement levels are based on the Fibonacci ratios, which are 0, 23.6%, 38.2%, 50%,
61.8%, and 88.6%. These levels are often used to identify areas where the price of an asset is
likely to retrace or pull back before continuing its trend. First let us do it with C++ program:
In C++ program we will use the library functions, symbols to give input and many more
which are not used in python. Let us see an example with respect to C++:
In C++ we have to use the semicolon “;” for every line but in python we don’t want it.
I C++ we are using input and output as cin and cout and we are initializing it with
“>>” , “<<” . But where as in python we don’t have to use this symbol at all we can
directly define input and output as input and print respectively.
The program will be easy to debug than in C++.
ix
INDEX
xi
WEEKLY OVERVIEW OF INTERNSHIP ACTIVITIES
xii
WEEK
5/01/23 Tuesday Concepts explanation like patterns by using “for loop”
and “while loop” in python
6/01/23 Wednesday Understanding the concepts and solving the problems
h
xiii
WEE
10/02/23 Wednesday Solving different problems on different platform
xvi
1.INTRODUCTION
As here we are discussing about the python programming language let us know some
background about it. Python is an interpreted, object-oriented, high-level programming
language with dynamic semantics developed by Guido van Rossum. It was originally
released in 1991. Python is a most user-friendly language that can be very easily learned
without much computer science background. So that’s why it is becoming one of the trending
programming languages. Due to its few advancements like extra library functions , easy to
declare features makes it differ from other programming languages. Python is a high-level,
interpreted, interactive and object-oriented scripting language. Python is commonly used for
developing websites and software, task automation, data analysis, and data visualization.
Since it's relatively easy to learn, Python has been adopted by many non-programmers such
as accountants and scientists, for a variety of everyday tasks, like organizing finances .
Features:
Python has a number of features that make it a popular choice for programmers. These
features include:
Easy to learn: Python is a relatively easy language to learn, even for beginners.
The syntax is simple and straightforward, and there are few complex concepts
to master.
Expressive: Python is a very expressive language, which means that it can be
used to write clear and concise code. This makes it a good choice for large and
complex projects.
Object-oriented: Python supports object-oriented programming, which is a
popular programming paradigm. This makes it a good choice for developing
large and complex applications.
Garbage-collected: Python is a garbage-collected language, which means that
the programmer does not need to worry about memory management. This can
save time and effort, and it can also help to prevent memory leaks.
1
Large standard library: Python has a large and comprehensive standard library,
which includes modules for a wide variety of tasks. This makes it a good
choice for rapid development.
Applications:
As we all know the special features of the python now let us see where and all the
python programming is used.
Web development: Python is a popular choice for web development, due to its ease of use
and its large standard library. It can be used to create both static and dynamic websites.
Data science: Python is a popular choice for data science, due to its powerful libraries for
data analysis and visualization. It can be used to process large datasets, and to create
interactive visualizations.
Machine learning: Python is a popular choice for machine learning, due to its large library
of machine learning algorithms. It can be used to train and deploy machine learning models.
System administration: Python is a popular choice for system administration, due to its
powerful scripting capabilities. It can be used to automate tasks, and to manage systems.
Scientific computing: Python is a popular choice for scientific computing, due to its
powerful libraries for numerical analysis and scientific computing. It can be used to solve
complex mathematical problems, and to simulate physical systems.
Until now we have seen the basics of python, uses , features and the applications of it, now
let us see the what can we do when we can take the python programming to advance levels
Generators: Generators are a type of function that can be used to create iterators. They are
iterators that can only be iterated over once. This makes them memory efficient, as they do
not need to store all of the generated values in memory at once.
2
Decorators: Decorators are a way to modify the behavior of functions. They are often used to
add functionality to functions, such as logging or timing.
Lambda functions: Lambda functions are small, anonymous functions. They can be used as
arguments to other functions, or they can be used to create short, one-line functions.
Context managers: Context managers are a way to manage the resources used by a block of
code. They are often used with files and databases.
Metaprogramming: Metaprogramming is a way to write code that generates code. This can
be used to create powerful tools for automating tasks.
Coroutines: Coroutines are a way to write asynchronous code in Python. They are often used
for networking and web development.
Regular expressions: Regular expressions are a way to match patterns in text. They can be
used for tasks such as text searching and parsing.
Multithreading: Multithreading is a way to run multiple threads in parallel. This can be used
to improve the responsiveness of an application.
Until now we have seen the basics of the python programming now let me explain you what
we learnt in the internship of python language.
3
2.CONCLUSION
I have successfully completed my 12-week internship on Python. During this time, I have
learned a lot about the language, including its syntax, data structures, and algorithms. I have
also developed my skills in problem-solving and debugging. I am confident that I can use my
knowledge of Python to contribute to my future projects. I am particularly interested in using
Python for data science and machine learning. I believe that Python is a powerful tool that
can be used to solve a wide variety of problems. I am grateful for the opportunity to have
worked on this internship. I have learned a lot from my mentors and colleagues, and I have
enjoyed the challenges of working on real-world projects. I am excited to continue learning
and growing as a Python developer.
4
3. REFERENCES
[1]. www.w3schools.com
[2]. www.geeksforgeeks.com
[3]. www.codemind.io
[4.] www.wikipedia.org