Python
Python
➔ History
Learn about the history of python and
who created it!
➔ What
Unlike HTML and CSS, python is more of an
interactive programming language. Python
uses functions like the if, else statement.
Python, as a high level programming
Fun Fact: language, can by used for security and
Python can be used games.
for hacking! Also,
➔ Who Uses Python
programmers have
Google makes extensive use of Python in
to learn code, they its web search systems. The popular
don't just open a YouTube video sharing service is largely
laptop and start written in Python. The Dropbox storage
typing. :) service codes both its server and desktop
client software primarily in Python. And
there are many more companies using this
language.
What you can do with Python
Encoding Decoding If and Else
Messages : Caesar Messages : Statement
Cipher Encoder Example:
Caesar Cipher
Decoder Adventure Game
Simple Things to
remember when
programming with python.
Indenting is key when working with
python. In HTML and CSS, We use
things like parentheses and brackets to
show the difference between
Tip functions, however in python you just
When all else fails, use have to separate the functions with
the w3schools.com. This
an excellent resource indents.
for learning
programming and
getting examples of Examples Comparison:
what you want to
create.
HTML/CSS Python
Python, is a great responsive programming
language for all users including beginners.
Using softwares like Replit, makes it easier
for you to see where your bugs are and how
to solve problems. However you have to have
the heart to do coding in general. If there is
no drive, then your code will always fall flat. My Citations and
Resources:
Having tears during code is normal though, Thecleverprogrammer.com
so don't give up and definitely keep on trying. W3schools.com
Repl
And Me!
About Python
➔ Guido Van Rossum was working at
Amoeba. While working for them, Guido
realized that developing in C took too
much time. So, he decided to spend his
free time developing a new coding
language that would be faster.
For all of our projects, we had to incorporate some/most of these elements. For example, the Caesar
Cipher encoder/decoder relied on loops. Our story/quizzes project relied heavily on conditionals
which included if, elif, and else.
Invalid Syntax means you have some type of typo or incorrect indentation. Think of it as the
spelling/grammar is not correct just like in English.
Sydney’s Sources
https://exyte.com/blog/a-brief-history-of-python
https://pythoninstitute.org/what-is-python/
https://careerfoundry.com/en/blog/web-development/7-bene
fits-of-learning-to-code/
IMG=https://gvanrossum.github.io/images/DO6GvRhi.gif
About pythons uses
● Python started to become one of the best and popular programming languages
in the world.
● Python is used for every machine learning to making websites and software
testing.
● Python is a general purpose language which also means that it is at use to
making a variety of different programs and is not made to make any or specific
problems.
● Python isn’t always in the use for programmers and scientist, Learning how to do
or use python is a new way for people in less data heavy professions like for
those who journal, small business owners, or social media marketers.
● Python also has the ability to enable non programmers to achieve certain tasks
in their lives.
Link
Link
Examples of python
The input function
allows a user to
insert a value into a
INPUT program. input
Name = input(‘What is your name?\n’) returns a string
print('Hi, %s.' % name) value.
LOOP
For i in range(5): Python do while
print( ‘A number:’, i ) loops run a block of
code while a
statement evaluates
SERVER (FLASK) to true.
from flask import Flask
app = Flask('app')
Link flask provides you
with tools, libraries
Link and technologies
Link @app.route('/')
that allow you to
def hello_world(): build a web
application.
return 'Hello, World!'
app.run(host='0.0.0.0', port=8080)
FACTORIAL The factorial is
always found for a
def factorial(n): positive integer by
multiplying all the
if n == 0: integers starting
from 1 till the given
return 1
number
else:
return n * factorial(n - 1)
print(factorial(5))
HELLO WORLD
print('Hello World!')
Link
All Of our resources
Thecleverprogrammer.com
W3schools.com
Repl
https://exyte.com/blog/a-brief-history-of-python
https://pythoninstitute.org/what-is-python/
https://careerfoundry.com/en/blog/web-development/7-benefits-of-lear
ning-to-code/
IMG=https://gvanrossum.github.io/images/DO6GvRhi.gif
Thank You
For Listening!
Let’s Play
Kahoot