Python 101
What will we learn?
What is python and
01 why is it important?
Learn first python
02
[Link]/download 04 code
pycharm
Syntax (Rules of a
03 programming language)
What is Python?
Python is a programming language
that is meant to be easy to read and
easy to use. Like any other language a
programming language is used to
communicate with something but
instead of communicating with another
human it’s used to communicate tia. a
computer.
Why is it important?
01 02 03
Easy to use You can use it in
Large community
many different ways
Python is a beginner friendly
language and it is the most Because so many people use
common language to start Python can be used for many
python it’s easier to gain
coding with. Python's simple and different purposes. It can be
inspirations and to get help
neat way of writing code helps used for web development,
when you are stuck.
people write code [Link]'s like machine learning, artificial
using shorter sentences to intelligence, ect.
explain things, which makes
coding faster and easier.
Replit
There are many different softwares
that you can use to code with python.
There’s softwares that you can
download like Pycharm and VS Code.
But we will use Replit which is an online
development system. This is a website
that is good for beginners.
Replit
Replit
Replit
Syntax
Syntax in Python is the set of rules or instructions you
need to follow when writing code. Just like how you
need to follow grammar rules when writing
sentences, you need to follow syntax rules when
writing Python code. The syntax rules in Python are
like the rules of a game. If you follow the rules
correctly, Python will understand and run your code
without any errors. If you make mistakes, Python will
let you know by showing error messages, just like
when you play a game and make a wrong move.\
Syntax of the day: comments!
Input
In general in programming input is the
information that the computers take in and
output is the information the computer
gives you back. Ex: In vending machines
the input is the money you provide to the
vending machine, and the output is the bag
of chips you receive.:
Print Statement
A print statement is like a special
instruction that tells the computer to
show words or numbers on the screen. It's
like when you want to show a message or
some information to someone, but
instead of speaking, you use a print
statement to make the computer show it
on the screen.
Print Statement
Print Statement
Print Statement
Print Statement
Print Statement
What will this print?
Print Statement
Simple practice
1. Print Hello, how are you?
2. Print the number 7
3. Print 10+7 to get the answer 17