







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








































GU Women Coders
§ What is an algorithm? How do we write them? § Python – Jupyter Notebooks § Simple programs § Basic Conditionals § Magic 8 Ball
PROBLEM SOLVING Software Development Imagine Design Create (implement) Test Experiment Evaluate (reflect) The Life Cycle
What are the steps?
Python § Python is a programming language that allows you to communicate with the computer using a higher level language than using 0s and 1s. § A Python program is a text file that can be edited in a text editor (nano, vi, emacs) or IDLE. § There are 2 production versions, 3.4.0 and 2.7. § We will use Jupyter Notebooks § Jupyter Notebooks is an interactive computational environment, that lets you combine code execution, rich text, mathematics, plots and other media. § To allow for easy collaboration during lectures, we will use Google’s Jupyter Notebooks cloud environment.
Go To Your Notebook
STATEMENT Statement A statement executes a single action.
Addition Task
Translate to Python 3 + 5 START END Add 3 and 5
What are they?
INPUT OUTPUT Input/ Output
Print the result
Translate to Python START: We have 2 numbers Print result END Add the two numbers result = 3 + 5 print(result)
SEQUENCE Statement Statement Statement
... A statement executes a single action. A sequence is a series of statements that execute one after another.