Python Lesson 3 Mr. Kalmes.

Slides:



Advertisements
Similar presentations
From Scratch to Python Learn to program like the big boys / girls!
Advertisements

Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
.  Often times we do not want to sit and calculate the solution to a problem because it might not be worth our time.  For example, suppose I went to.
OCR Computing GCSE © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 3: Built-in functions.
For Loop GCSE Computer Science – Python. For Loop The for loop iterates over the items in a sequence, which can be a string or a list (we will discuss.
Calculator Tricks 1 By Brian Carruthers ( (Please see notes on slide 1)
JUST BASIC Lessons 6 – 9 Mr. Kalmes.
1.Introduction In the previous section you were introduced to the 'brain' of the computer, namely the CPU. You also learned about different things which.
Fundamentals of Python: First Programs
Python Lesson 12 Mr. Kalmes.
Introduction to Python
Lesson 1 An Introduction
Lesson 05: Iterations Class Chat: Attendance: Participation
CS1371 Introduction to Computing for Engineers
Python Lesson 6 Mr. Kalmes.
Lesson 05: Iterations Topic: Introduction to Programming, Zybook Ch 4, P4E Ch 5. Slides on website.
Python Lessons 9 & 10 Mr. Kalmes.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Programming In Lesson 3.
Python Lessons 13 & 14 Mr. Kalmes.
Coding Concepts (Basics)
Bell work  .
IST256 : Applications Programming for Information Systems
Java Lesson 36 Mr. Kalmes.
Repetition Structures
Python Lesson 21 Mr. Kalmes.
Python 9 Mr. Husch.
Python 21 Mr. Husch.
Java Lessons 28 – 32 Mr. Kalmes.
Java Lesson 35 Mr. Kalmes.
Just Basic Lessons Mr. Kalmes.
Go Formative.
Basic Lessons 7&8 Mr. Husch.
Python Lessons 9 & 10 Mr. Husch.
Java Lessons 5 – 8 Mr. Kalmes.
The mailroom receives customer orders from customers, where clerks sort orders from the rest of the mail, group them into batches, prepare a transmittal.
Python 19 Mr. Husch.
How did you decide what to wear today?
Just Basic Lesson 17 Part 1 Mr. Kalmes.
Just Basic Lessons 14 Mr. Kalmes.
Flowcharts and Pseudo Code
Python Lesson’S 1 & 2 Mr. Kalmes.
Just Basic Lessons 7&8 Mr. Kalmes.
Just Basic Lesson 15 Mr. Kalmes.
Basic Lessons 5 & 6 Mr. Kalmes.
Just Basic Lesson 12 Mr. Kalmes.
Just Basic Lessons 9 Mr. Kalmes.
Just Basic Lesson 19 Mr. Kalmes.
Input and Output Python3 Beginner #3.
Lesson 02: Introduction to Python
Python Lessons 7 & 8 Mr. Kalmes.
Python 3 Mr. Husch.
Python Inputs Mr. Husch.
Java Lessons Mr. Kalmes.
Basic Mr. Husch.
Python 19 Mr. Husch.
Starter of the day Book 1 page 8.
Python 10 Mr. Husch.
Just Basic Lesson 13 Mr. Kalmes.
Just Basic Lessons Mr. Kalmes.
Java Lessons 9 – 12 Mr. Kalmes.
Python 8 Mr. Husch.
JustBasic 20 Mr. Husch.
Just Basic Lessons 7 Mr. Kalmes.
Just Basic Lessons 8 Mr. Kalmes.
Primary School Computing
IST256 : Applications Programming for Information Systems
Functions, Procedures, and Abstraction
Array Fundamentals A simple example program will serve to introduce arrays. This program, REPLAY, creates an array of four integers representing the ages.
Getting Started in Python
Presentation transcript:

Python Lesson 3 Mr. Kalmes

Lesson Overview This lesson introduces how to program variables into Python. Objectives: Students will Define what variables are used for. Create a sequence of code utilizing variables.

Vocab What are variables and what they are used for in coding? Variables are representations of something more complex like the variable age might represent the calculation “current year – birth year”. If we would type in print age the terminal would display the age of the user.

Activity 1

Activity 1

Activity 2 Try and write a code, based off the same ideas in the code you did earlier. This code should be based on a grocery store. You will need to include things like isles, items in the store, check out clerks, and customers. You can decide what the final information is that is printed out, but use those basic ideas to write some variables that work together to tell me about your fictional store.

Exit Slip Please complete your exit slip via google forms Exit Slip Question: In what other ways could you use variables in python?