01+-+Intro+to+Python
01+-+Intro+to+Python
Python
Student Machine Learning Coalition
INTRODUCTION
A small history of Python
as a language and why it
is so important.
01
VARIABLES/DATA
TYPES
A short description of
variables and types of 02
variables
TABLE OF LIST ACCESSION
LOOPS/
CONDITIONALS
CONTENT 04 Lists and how to access
elements of a list
FUNCTIONS/
LAMBDA
06 How to create functions
and how to compress
them into a single line
expression
01
INTRODUCTION
What is Python?
Popular language created for simplicity and readability
Float
Regular numbers.
- No decimals, can
be positive or Line of text
negative - Set off by single
Integers quotes or double
quotes.
String
Data Conversion Functions
Bool()
- Turns a variable
into a Boolean
value
Float()
- Turns a variable
into a float
(cannot work with
letters)
Str()
- Turns a variable
into a string
Int()
- Turns a variable
into an integer
(cannot work with
letters or a float
with a decimal
value)
Applications of conversion
Input
function
Since it is by default a
string, you can use
float() or int() to
convert to a data type
Type
of your choice.
function
while [condition]:
[action]
[update condition]
Syntax:
Syntax:
If [condition]:
[action]
elif [condition]:
[action]
else:
[action]
Conditions can be equality (==), greater than (<), less than (>), and much
more.
04
LISTS - BASICS, ACCESSION
Lists and Tuples - Basics
Syntax: list_name[index]
Indexing (cont.)
More syntax:
Basic List Functions
NEPTUNE
Neptune is the farthest planet from the
Sun, the fourth-largest in our Solar
System
JUPITER SATURN
It’s a gas giant Saturn is a gas
and the biggest giant, composed
planet in our of hydrogen and
Solar System helium
IN DEPTH
MERCURY
Mercury is the closest planet to the Sun
and the smallest one in the Solar System
—it’s only a bit larger than our Moon.
The planet’s name has nothing to do
with the liquid metal, since it was named
after the Roman messenger god,
Mercury
IN DEPTH
VENUS
Venus has a beautiful name and is the
second planet from the Sun. It’s terribly
hot—even hotter than Mercury—and its
atmosphere is extremely poisonous. It’s
the second-brightest natural object in the
night sky after the Moon
1. A slide structure based on a newsletter, which you can easily adapt to your
needs. For more info on how to edit the template, please visit Slidesgo School
or read our FAQs.
2. A thanks slide, which you must keep so that proper credits for our design are
given.
3. A resources slide, where you’ll find links to all the elements used in the
template.
4. Instructions for use.
5. Final slides with:
● The fonts and colors used in the template.
● A selection of illustrations. You can also customize and animate them as
you wish with the online editor. Visit Storyset to find more.
● More infographic resources,
You can delete this slide when whose sizeediting
you’re done and color can be edited.
the presentation.
● Sets of customizable icons of the following themes: general, business,
avatar, creative process, education, help & support, medical, nature,
OUR NUMBERS
10 ongoing projects
0
40 new employees last
semester
SECTOR NEWS
“Neptune is the
farthest planet from the
Sun and the fourth-
largest in our Solar
System!” “Despite being red,
RICHARD Mars is a cold place. It’s
ROE full of iron oxide dust,
which gives the planet
its reddish cast”
HELENA
PATTERSON
TABLE
VENUS 12 32 23 45
MERCURY 67 23 45 65
MARS 67 49 78 34
WELCOME!
FEB 02 APR
16
SEP 08
Mercury is the
closest planet NOV 29
to the Sun
Saturn is
composed of
hydrogen and
OCT 16 helium
Despite being
red, Mars is a DEC 10
cold place, not
hot Jupiter is the
biggest planet
in our Solar
System
SNEAK PEEK
addyouremail@freepik.com
+91 620 421 838
yourcompany.com
VECTORS
PHOTOS
For more information about editing slides, please read our FAQs or visit Slidesgo School:
https://slidesgo.com/faqs and https://slidesgo.com/slidesgo-school
Instructions for use (premium users)
In order to use this template, you must be a Premium user on Slidesgo.
For more information about editing slides, please read our FAQs or visit Slidesgo School:
https://slidesgo.com/faqs and https://slidesgo.com/slidesgo-school
Fonts & colors used
This presentation has been made using the following fonts:
Exo 2
(https://fonts.google.com/specimen/Exo+2)
Roboto Condensed
(https://fonts.google.com/specimen/Roboto+Condensed)
PHASE 1
Task 1
Task 2
PHASE 2
Task 1
Task 2
PHASE
1
Task 1
Task 2
...and our sets of editable icons
You can resize these icons without losing quality.
You can change the stroke and fill color; just select the icon and click on the paint bucket/pen.
In Google Slides, you can also use Flaticon’s extension, allowing you to customize and add even more icons.
Educational Icons Medical Icons
Business Icons Teamwork Icons
Help & Support Icons Avatar Icons
Creative Process Icons Performing Arts Icons
Nature Icons
SEO & Marketing Icons