SlideShare a Scribd company logo
I
A
Seminar Report
on
Crash Course on Python
Submitted in partial fulfillment for the award of degree of
BACHELOR OF TECHNOLOGY
In
Computer Science & Engineering
Coordinator:
LoveleenKumar
Submitted By:
RAM GOPAL SIDDH
RTU Roll No. 19EGJCS188
Submitted to:
Dr. S. S. Shekhawat
Head of Dept.
Department of Computer Science & Engineering
GLOBAL INSTITUTE OF TECHNOLOGY
JAIPUR (RAJASTHAN)-302022
SESSION: 2021-22
II
Certificate
III
Acknowledgement
I take this opportunity to express my deep sense of gratitude to my coordinator Mr. Loveleen
Kumar, Assistant Professor Department of Computer Science and Engineering, Global Institute
of Technology, Jaipur, for his valuable guidance and cooperation throughout the Practical
Training work. He provided constant encouragement and unceasing enthusiasm at every stage of
the Practical Training work.
We are grateful to our respected Dr. I. C. Sharma, Principal GIT for guiding us during
Practical Training period
We express our indebtedness to Dr. S. S. Shekhawat, Head of Department of Computer Science
and Engineering, Global Institute of Technology, Jaipur for providing me ample support during
my Practical Training period.
Without their support and timely guidance, the completion of our Practical Training would have
seemed a farfetched dream. In this respect we find ourselves lucky to have mentors of such a
great potential.
Place: GIT, Jaipur
RAM GOPAL SIDDH
19EGJCS188
B.Tech. V Semester, 3rd Year, CS
IV
Abstract
This course is designed to teach you the foundations in order to write simple programs in Python
using the most common structures. No previous exposure to programming is needed. By the end
of this course, you'll understand the benefits of programming in IT roles; be able to write simple
programs using Python; figure out how the building blocks of programming fit together; and
combine all of this knowledge to solve a complex programming problem.
We'll start off by diving into the basics of writing a computer program. Along the way, you’ll
get hands-on experience with programming concepts through interactive exercises and real-
world examples. You’ll quickly start to see how computers can perform a multitude of tasks —
you just have to write code that tells them what to do.
V
Table of Contents
Certificate.........................................................................................................................................ii
Acknowledgement .......................................................................................................................... iii
Abstract ...........................................................................................................................................iv
Table of Content...............................................................................................................................v
Learning Objectives ……………………………………………………………………...vi
Week 1.......................................................................................................................................1
1.1INTRODUCTIOANDOBJECTIVE…………………………………………………………………………….1
1.2 Introduction to Programming ……………………………………………..2
1.3 introduction of python…………………………………………………………….2
1.4helloworld……………………………………………………………………………2
Week 2………………………………………………………………………………….
2.1ExpressionsandVariables…………………………………………………………………….2
2.2Function………………………………………………………………………………………
…3
2.3
conditionals………………………………………………………………………………………
……………3
Week3……………………………………………………………………………………………
………………………….3
3.1 While Loops………………………………………………………………………..3
3.2 For
loops…………………………………………………………………………..3
VI
Week4……………………………………………………………………………………………
….4
4.1
Strings………………………………………………………………………………….4
4.2
Lists……………………………………………………………………………………4
4.3
Dictionaries………………………………………………………………………….4
Week5………………………………………………………………………………………..4
5.1 Object-oriented Programming………………………………………………………4
5.2 Classes and
Methods………………………………………………………………5
5.3 Code
Reuse…………………………………………………………………………5
1.1 INTRODUCTION AND OBJECTIVE
computer programming skills open up an incredible amount of opportunity. Being able to
write scripts and programs that tell your computer to perform a task equips you with an invaluable
tool. Not only does it make your work easier and more efficient, it can help you grow faster and
advance further in your IT career. But how do you even start to learn a programming language like
Python? How do you recognize when to tell a computer to perform a task? And how do you then
VII
write a program to actually get your computer complete the task you want it to do? The thought of
learning to write a program in Python can make you feel a whole bunch of emotions excitement,
anticipation that feeling of wanting to dive right in and get going and also fear. You might ask
yourself, can I really learn how to code or do I have it in me? I'm here to tell you, yes, you can
absolutely do this. Learning how to program can be scary and intimidating, but at the same time it's
really fun and really exciting. I coding as in life, if we're going to get philosophical, the most
rewarding work is usually a bit challenging, but ultimately well worth the effort.
If you've ever learned a new skill, like playing a musical instrument, speaking a foreign
language, knitting, or skateboarding. You know that getting good at something new requires a lot
of practice. For me, I love to learn new languages and I'm proud to say I speak Spanish, Arabic,
French, and I even know ten words in Russian. Our world is shaped by the words and the
languages we speak and while some words may be unique to one language you can always find
similarities that help you learn and understand. Being able to connect the dots between cultures
allows me to see things others might not, kind of sounds like this applies to IT
programming,huh? My point is, whether you're learning French or Python, it 's never easy. You
have to start small, learn the basics and practice those until you master them.
Only then can you move on to more complex and impressive stuff and I'm here to help
you along that path along with my colleagues who you'll meet in later courses. We'll start slow,
master the foundation's together and you'll soon be ready for more challenging stuff. So are you
wondering why we filmed this course in a cabin on a lake in Canada. The truth is were actually
in a game room at one of the Google offices in Sunnyvale, California. We chose a different
themed office space for each course of the program just to mix things up and I think I scored
with this one. I should warn my manager that I'll be hanging out in this one well after the course
ends because it's super comfy. By the end of this course, you'll understand the benefits of
programming in IT roles. You'll be able to write simple programs using Python, figure out how
the building blocks of programming fit together, and combine all this knowledge to solve a
complex programming proble
1.2Introduction to Programming
VIII
a.The Beginning of Your Programing
b. What is programming?
c. What is automation?
d Getting Computers to Work for You
1.3 introduction of python
a. What is Python?
B .Why is Python relevant to IT?
c. Other Languages
1.4 hello world
A .Hello, World!
b. Getting Information from the User
c. Python Can Be Your Calculator
week 2
Basic Python Syntax
2.1 Expressions and Variables
a.Basic Python Syntax introduction
b.Data Types
c.Variables
d. Expressions, Numbers, and Type Conversions
2.2 Function
a. Defining Functions
b. Returning Values
c. The Principles of Code Reuse
d. Code Style
2.3 conditionals
a. Comparing Things
b. Branching with if Statements
c. else Statements
d. elif Statements
week 3
Loops
3.1 While Loops
a. Introduction to Loops
b. What is a while loop?
c. More while Loop Examples
d. Why Initializing Variables Matters
e. Infinite Loops and How to Break Them
3.2 For loops
a. What is a for loop?
b. More for Loop Examples
IX
c. Nested for Loops
d. Common Errors in for Loops
week 4
Strings, Lists and Dictionaries
4.1 Strings
a. Basic Structures Introduction
b. What is a string?
c. The Parts of a String
d. Creating New Strings
e. More String Methods
f. Formatting Strings
4.2 Lists
a. What is a list?
b. Modifying the Contents of a List
c. Lists and Tuples
d. Iterating over Lists and Tuples
e. List Comprehensions
4.3 Dictionaries
a. What is a dictionary?
b. Iterating over the Contents of a Dictionary
c.
week 5
Object Oriented Programming
5.1 Object-oriented Programming
a.OOP Introduction
b.What is Object-oriented programming?
c.Classes and Objects in Python
d.Defining New Classes
5.2 Classes and Methods
a. Instance Methods
b.Constructors and Other Special Methods
c.Documenting Functions, Classes, and Methods
d.About Jupyter Notebooks
X
5.3 Code Reuse
a.About Jupyter Notebooks
b.Composition
c.Python Modules

More Related Content

What's hot

Coding Dojo Applied
Coding Dojo AppliedCoding Dojo Applied
Coding Dojo Applied
Vladimir Tarasov
 
Python training in delhi, request demo class
Python training in delhi, request demo classPython training in delhi, request demo class
Python training in delhi, request demo class
vikasAT
 
Python training in delhi, request demo class (2)
Python training in delhi, request demo class (2)Python training in delhi, request demo class (2)
Python training in delhi, request demo class (2)
vikasAT
 
Python training in delhi, request demo class (1)
Python training in delhi, request demo class (1)Python training in delhi, request demo class (1)
Python training in delhi, request demo class (1)
vikasAT
 
Notes
NotesNotes
Python course syllabus
Python course syllabusPython course syllabus
Python course syllabus
Sugantha T
 

What's hot (6)

Coding Dojo Applied
Coding Dojo AppliedCoding Dojo Applied
Coding Dojo Applied
 
Python training in delhi, request demo class
Python training in delhi, request demo classPython training in delhi, request demo class
Python training in delhi, request demo class
 
Python training in delhi, request demo class (2)
Python training in delhi, request demo class (2)Python training in delhi, request demo class (2)
Python training in delhi, request demo class (2)
 
Python training in delhi, request demo class (1)
Python training in delhi, request demo class (1)Python training in delhi, request demo class (1)
Python training in delhi, request demo class (1)
 
Notes
NotesNotes
Notes
 
Python course syllabus
Python course syllabusPython course syllabus
Python course syllabus
 

Similar to 1 cover page

python training.docx
python training.docxpython training.docx
python training.docx
AkshitaYadav49
 
ONLINE ACCESSThank you for purchasing a new copy of In.docx
ONLINE ACCESSThank you for purchasing a new copy of In.docxONLINE ACCESSThank you for purchasing a new copy of In.docx
ONLINE ACCESSThank you for purchasing a new copy of In.docx
cherishwinsland
 
sahil mooc ppt (1).ppt
sahil mooc ppt (1).pptsahil mooc ppt (1).ppt
sahil mooc ppt (1).ppt
Sahil564199
 
Real Python 🐍👨_💻-1.pdf
Real Python 🐍👨_💻-1.pdfReal Python 🐍👨_💻-1.pdf
Real Python 🐍👨_💻-1.pdf
vishal laddha
 
python classes 1.pdf
python classes 1.pdfpython classes 1.pdf
python classes 1.pdf
robin singh
 
interviewbit.pdf
interviewbit.pdfinterviewbit.pdf
interviewbit.pdf
BasavarajaG8
 
python_tutorial.pdf
python_tutorial.pdfpython_tutorial.pdf
python_tutorial.pdf
poojaofficial
 
Python3handson
Python3handsonPython3handson
Python3handson
VetriSelvan Nagarajan
 
pythonUnit_1forprogrammin launguage.pptx
pythonUnit_1forprogrammin launguage.pptxpythonUnit_1forprogrammin launguage.pptx
pythonUnit_1forprogrammin launguage.pptx
bharathece1
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
Rushikesh Kolhe
 
C aptitude book
C aptitude bookC aptitude book
C aptitude book
MadipadigaYashwanth
 
An introduction to python | Python Assignment Help
An introduction to python | Python Assignment HelpAn introduction to python | Python Assignment Help
An introduction to python | Python Assignment Help
Sample Assignment
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
MuhammadBakri13
 
Learn Python
Learn PythonLearn Python
Learn Python
Vinayak Hegde
 
Programming of c++
Programming of c++Programming of c++
Programming of c++
Ateeq Sindhu
 
Master Python.pdf
Master Python.pdfMaster Python.pdf
Master Python.pdf
Uncodemy
 
thinkCSpy
thinkCSpythinkCSpy
thinkCSpy
webuploader
 
Why Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.pptWhy Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.ppt
Techinventive Software
 
Python_Interview_Questions.pdf
Python_Interview_Questions.pdfPython_Interview_Questions.pdf
Python_Interview_Questions.pdf
Samir Paul
 
FEC2017-Introduction-to-programming
FEC2017-Introduction-to-programmingFEC2017-Introduction-to-programming
FEC2017-Introduction-to-programming
Henrikki Tenkanen
 

Similar to 1 cover page (20)

python training.docx
python training.docxpython training.docx
python training.docx
 
ONLINE ACCESSThank you for purchasing a new copy of In.docx
ONLINE ACCESSThank you for purchasing a new copy of In.docxONLINE ACCESSThank you for purchasing a new copy of In.docx
ONLINE ACCESSThank you for purchasing a new copy of In.docx
 
sahil mooc ppt (1).ppt
sahil mooc ppt (1).pptsahil mooc ppt (1).ppt
sahil mooc ppt (1).ppt
 
Real Python 🐍👨_💻-1.pdf
Real Python 🐍👨_💻-1.pdfReal Python 🐍👨_💻-1.pdf
Real Python 🐍👨_💻-1.pdf
 
python classes 1.pdf
python classes 1.pdfpython classes 1.pdf
python classes 1.pdf
 
interviewbit.pdf
interviewbit.pdfinterviewbit.pdf
interviewbit.pdf
 
python_tutorial.pdf
python_tutorial.pdfpython_tutorial.pdf
python_tutorial.pdf
 
Python3handson
Python3handsonPython3handson
Python3handson
 
pythonUnit_1forprogrammin launguage.pptx
pythonUnit_1forprogrammin launguage.pptxpythonUnit_1forprogrammin launguage.pptx
pythonUnit_1forprogrammin launguage.pptx
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
 
C aptitude book
C aptitude bookC aptitude book
C aptitude book
 
An introduction to python | Python Assignment Help
An introduction to python | Python Assignment HelpAn introduction to python | Python Assignment Help
An introduction to python | Python Assignment Help
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Learn Python
Learn PythonLearn Python
Learn Python
 
Programming of c++
Programming of c++Programming of c++
Programming of c++
 
Master Python.pdf
Master Python.pdfMaster Python.pdf
Master Python.pdf
 
thinkCSpy
thinkCSpythinkCSpy
thinkCSpy
 
Why Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.pptWhy Python is the Best Coding Language For PWA Development_.ppt
Why Python is the Best Coding Language For PWA Development_.ppt
 
Python_Interview_Questions.pdf
Python_Interview_Questions.pdfPython_Interview_Questions.pdf
Python_Interview_Questions.pdf
 
FEC2017-Introduction-to-programming
FEC2017-Introduction-to-programmingFEC2017-Introduction-to-programming
FEC2017-Introduction-to-programming
 

Recently uploaded

ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 

Recently uploaded (20)

ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 

1 cover page

  • 1. I A Seminar Report on Crash Course on Python Submitted in partial fulfillment for the award of degree of BACHELOR OF TECHNOLOGY In Computer Science & Engineering Coordinator: LoveleenKumar Submitted By: RAM GOPAL SIDDH RTU Roll No. 19EGJCS188 Submitted to: Dr. S. S. Shekhawat Head of Dept. Department of Computer Science & Engineering GLOBAL INSTITUTE OF TECHNOLOGY JAIPUR (RAJASTHAN)-302022 SESSION: 2021-22
  • 3. III Acknowledgement I take this opportunity to express my deep sense of gratitude to my coordinator Mr. Loveleen Kumar, Assistant Professor Department of Computer Science and Engineering, Global Institute of Technology, Jaipur, for his valuable guidance and cooperation throughout the Practical Training work. He provided constant encouragement and unceasing enthusiasm at every stage of the Practical Training work. We are grateful to our respected Dr. I. C. Sharma, Principal GIT for guiding us during Practical Training period We express our indebtedness to Dr. S. S. Shekhawat, Head of Department of Computer Science and Engineering, Global Institute of Technology, Jaipur for providing me ample support during my Practical Training period. Without their support and timely guidance, the completion of our Practical Training would have seemed a farfetched dream. In this respect we find ourselves lucky to have mentors of such a great potential. Place: GIT, Jaipur RAM GOPAL SIDDH 19EGJCS188 B.Tech. V Semester, 3rd Year, CS
  • 4. IV Abstract This course is designed to teach you the foundations in order to write simple programs in Python using the most common structures. No previous exposure to programming is needed. By the end of this course, you'll understand the benefits of programming in IT roles; be able to write simple programs using Python; figure out how the building blocks of programming fit together; and combine all of this knowledge to solve a complex programming problem. We'll start off by diving into the basics of writing a computer program. Along the way, you’ll get hands-on experience with programming concepts through interactive exercises and real- world examples. You’ll quickly start to see how computers can perform a multitude of tasks — you just have to write code that tells them what to do.
  • 5. V Table of Contents Certificate.........................................................................................................................................ii Acknowledgement .......................................................................................................................... iii Abstract ...........................................................................................................................................iv Table of Content...............................................................................................................................v Learning Objectives ……………………………………………………………………...vi Week 1.......................................................................................................................................1 1.1INTRODUCTIOANDOBJECTIVE…………………………………………………………………………….1 1.2 Introduction to Programming ……………………………………………..2 1.3 introduction of python…………………………………………………………….2 1.4helloworld……………………………………………………………………………2 Week 2…………………………………………………………………………………. 2.1ExpressionsandVariables…………………………………………………………………….2 2.2Function……………………………………………………………………………………… …3 2.3 conditionals……………………………………………………………………………………… ……………3 Week3…………………………………………………………………………………………… ………………………….3 3.1 While Loops………………………………………………………………………..3 3.2 For loops…………………………………………………………………………..3
  • 6. VI Week4…………………………………………………………………………………………… ….4 4.1 Strings………………………………………………………………………………….4 4.2 Lists……………………………………………………………………………………4 4.3 Dictionaries………………………………………………………………………….4 Week5………………………………………………………………………………………..4 5.1 Object-oriented Programming………………………………………………………4 5.2 Classes and Methods………………………………………………………………5 5.3 Code Reuse…………………………………………………………………………5 1.1 INTRODUCTION AND OBJECTIVE computer programming skills open up an incredible amount of opportunity. Being able to write scripts and programs that tell your computer to perform a task equips you with an invaluable tool. Not only does it make your work easier and more efficient, it can help you grow faster and advance further in your IT career. But how do you even start to learn a programming language like Python? How do you recognize when to tell a computer to perform a task? And how do you then
  • 7. VII write a program to actually get your computer complete the task you want it to do? The thought of learning to write a program in Python can make you feel a whole bunch of emotions excitement, anticipation that feeling of wanting to dive right in and get going and also fear. You might ask yourself, can I really learn how to code or do I have it in me? I'm here to tell you, yes, you can absolutely do this. Learning how to program can be scary and intimidating, but at the same time it's really fun and really exciting. I coding as in life, if we're going to get philosophical, the most rewarding work is usually a bit challenging, but ultimately well worth the effort. If you've ever learned a new skill, like playing a musical instrument, speaking a foreign language, knitting, or skateboarding. You know that getting good at something new requires a lot of practice. For me, I love to learn new languages and I'm proud to say I speak Spanish, Arabic, French, and I even know ten words in Russian. Our world is shaped by the words and the languages we speak and while some words may be unique to one language you can always find similarities that help you learn and understand. Being able to connect the dots between cultures allows me to see things others might not, kind of sounds like this applies to IT programming,huh? My point is, whether you're learning French or Python, it 's never easy. You have to start small, learn the basics and practice those until you master them. Only then can you move on to more complex and impressive stuff and I'm here to help you along that path along with my colleagues who you'll meet in later courses. We'll start slow, master the foundation's together and you'll soon be ready for more challenging stuff. So are you wondering why we filmed this course in a cabin on a lake in Canada. The truth is were actually in a game room at one of the Google offices in Sunnyvale, California. We chose a different themed office space for each course of the program just to mix things up and I think I scored with this one. I should warn my manager that I'll be hanging out in this one well after the course ends because it's super comfy. By the end of this course, you'll understand the benefits of programming in IT roles. You'll be able to write simple programs using Python, figure out how the building blocks of programming fit together, and combine all this knowledge to solve a complex programming proble 1.2Introduction to Programming
  • 8. VIII a.The Beginning of Your Programing b. What is programming? c. What is automation? d Getting Computers to Work for You 1.3 introduction of python a. What is Python? B .Why is Python relevant to IT? c. Other Languages 1.4 hello world A .Hello, World! b. Getting Information from the User c. Python Can Be Your Calculator week 2 Basic Python Syntax 2.1 Expressions and Variables a.Basic Python Syntax introduction b.Data Types c.Variables d. Expressions, Numbers, and Type Conversions 2.2 Function a. Defining Functions b. Returning Values c. The Principles of Code Reuse d. Code Style 2.3 conditionals a. Comparing Things b. Branching with if Statements c. else Statements d. elif Statements week 3 Loops 3.1 While Loops a. Introduction to Loops b. What is a while loop? c. More while Loop Examples d. Why Initializing Variables Matters e. Infinite Loops and How to Break Them 3.2 For loops a. What is a for loop? b. More for Loop Examples
  • 9. IX c. Nested for Loops d. Common Errors in for Loops week 4 Strings, Lists and Dictionaries 4.1 Strings a. Basic Structures Introduction b. What is a string? c. The Parts of a String d. Creating New Strings e. More String Methods f. Formatting Strings 4.2 Lists a. What is a list? b. Modifying the Contents of a List c. Lists and Tuples d. Iterating over Lists and Tuples e. List Comprehensions 4.3 Dictionaries a. What is a dictionary? b. Iterating over the Contents of a Dictionary c. week 5 Object Oriented Programming 5.1 Object-oriented Programming a.OOP Introduction b.What is Object-oriented programming? c.Classes and Objects in Python d.Defining New Classes 5.2 Classes and Methods a. Instance Methods b.Constructors and Other Special Methods c.Documenting Functions, Classes, and Methods d.About Jupyter Notebooks
  • 10. X 5.3 Code Reuse a.About Jupyter Notebooks b.Composition c.Python Modules