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

Programming%20in%20Python-1717521959215

python language
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
717 views

Programming%20in%20Python-1717521959215

python language
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

PYTHON

THE COMPLETE COURSE

ARTIFICIAL
INTELLIGENCE &
MACHINE LEARNING
CODE IN PYTHON
PRESENTED BY:

ATHARVA PANDEY
010001011110111010011
Why programming language?
Machines understand 0 and 1 but
writing 0 & 1 not at all human friendly
hence we need programming
languages
Interpreter? - Translator
Python usually uses interpreter, goes
through code line by line and converts
it to machine code
compiler? - Translator
Take your code all at once and
translates it to machine code
PYTHON INTERPRETER
Python code --> Interpreter --> line
by line --> byte code --> runs on
cpython vm --> runs on our PC

Download from https://python.org


Every system is different hence installation might differ
You need to install python v3
To check installation on everyones PC is beyond the Scope of
online class
WHAT WE WILL NEED?
IDE

Code editor

Terminal Jupyter
QUICK START

https://replit.com

https://glot.io
WHY 2 DIFFERENT PYTHONS?
DO WE NEED TO RELEARN
Python 2 Python 3

https://www.datacamp.com/blog/pyt
hon-2-vs-3-everything-you-need-to-
know
EXERCIZE - HELP EACH OTHER TO INSTALL PYTHON3
LOCALLY
LEARNING AS NEWB
Learn the basic terminologies so that you
can communicate with others
Learn about datatypes, what sort of data
can a program hold- eg: number, letter,
symbol
Actions - Store data retrieve data and
perform actions
Learning best practices

THIS ALL YOU NEED TO BECOME A GOOD


PYTHON PROGRAMMER
MORE RESOURCES

https://www.youtube.com/watch?
v=PZRI1IfStY0
Understand floating point numbers

Math Functions
https://www.programiz.com/python-
programming/modules/math
Developer Fundamentals
Don’t read dictionary - learn to google
Use the language - somethings are used
more then others
We will learn important topics
But learn the language as a tool to do the
task you don;t really need to memorize
everything but develop problem solving
ability
Do write comments - *in good ways* add
valuable comments
You should be aware when to use what
data structure
VARIABLES BEST
PRACTICES
snake_case

starts with lowercase or _

letters numbers underscore

case sensitive

don’t overwrite keywords


Resources
https://www.geeksforgeeks.org/python-int-function/
https://www.w3schools.com/python/python_ref_keywords.asp
https://realpython.com/python-comments-guide/
https://www.w3schools.com/python/python_ref_list.asp
https://www.w3schools.com/python/python_ref_keywords.asp
https://www.w3schools.com/python/python_ref_set.asp

You might also like