Python 9 Mr. Husch.

Slides:



Advertisements
Similar presentations
Procedures and Functions. What are they? They are both blocks of code that can be reused to perform specific task. However there is a difference: Function-
Advertisements

Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
JavaScript with Input & Output Step 1: Use tags JavaScript Template.
Python File Handling. In all the programs you have made so far when program is closed all the data is lost, but what if you want to keep the data to use.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
Type accurately challenge! This is a starter activity and should take 2 minutes [ slide 1 ] 1.Can you type out the code in Code Box 2.1 with no errors.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
Reading and Mapping Aerosol Data From a MODIS HDF4 File
My Python Programmes NAME:.
Files in Python The Basics. Why use Files? Very small amounts of data – just hardcode them into the program A few pieces of data – ask the user to input.
Dayu Zhang 9/10/2014 Lab03. Outline Brief Review of the 4 Steps in Hello.cpp Example Understand endl and \n Understand Comment Programming Exercise -
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.
The analyst can not stay with the business for ever – a guide to help the new users.
Starter What does the following code do?
Quote It! Overview July 2011 Speak to slide /26/11 1.
Python 23 Mr. Husch.
Lesson 1 An Introduction
Python 6 Mr. Husch.
Lawrence Livermore National Laboratory
Basic operations in Matlab
Python 18 Mr. Husch.
Print slides for students reference
Database Queries.
Python Lesson 6 Mr. Kalmes.
Python Lesson 3 Mr. Kalmes.
Python I/O.
Python Mr. Husch.
Fill the screen challenge!
NoodleTools Workshop TLC Project 2010.
The backslash is used to escape characters that are used in Python
Python Lessons 13 & 14 Mr. Kalmes.
Lesson Aims Vocabulary In this lesson you are going to:
A poorly named Curt Hill utility program
Hello World! Syntax.
Repetition Structures
Python 21 Mr. Husch.
Python Lessons 9 & 10 Mr. Husch.
Inputs and Variables Programming Guides.
Starter answer these questions in your book
XML Parsing I have to analyze over 300 XML files. The xml2csy.py can’t be used to call multiple files at time as per our previous communication. I am thinking.
Python 19 Mr. Husch.
21 3 Variables Selection Functions Repetition Challenge 21
Python Lesson’S 1 & 2 Mr. Kalmes.
Using Script Files and Managing Data
NavCad Bacics.
Python 16 Mr. Husch.
PYTHON LESSON 5 Mr. Kalmes.
Rate of Change The rate of change is the change in y-values over the change in x-values.
Basic Lessons 5 & 6 Mr. Kalmes.
Lesson 02: Introduction to Python
Python 3 Mr. Husch.
Aim: To be able to describe the general rule for a sequence
Python Inputs Mr. Husch.
Python Lessons 13 & 14 Mr. Husch.
Basic Mr. Husch.
Python 16 Mr. Husch.
JustBasic 16 Mr. Husch.
Python 19 Mr. Husch.
Python Lessons 7 & 8 Mr. Husch.
Python 10 Mr. Husch.
Python 18 Mr. Husch.
Python 4 and 5 Mr. Husch.
Python 8 Mr. Husch.
Python 13 Mr. Husch.
Basic 9 Mr. Husch.
What you need to do… Drag the pieces of code into the correct order like you can see in the EXAMPLE below. print ( “ int input ) = + Hello world chr ord.
Games Development 2 Tools Programming
CS 1111 Introduction to Programming Spring 2019
Dialog Design 1 Basic Dialog Styles.
Getting Started in Python
Presentation transcript:

Python 9 Mr. Husch

Aim Analyze the Python system to determine input and output Construct a sequence of code to ask users for input

How Programs Work Constructing a step by step process of how a program works. At its very core, a program works as follows: Take in information Change information Display the information how it changed So far the you have done plenty of print commands to show the changes in the information but now you are going to generate programs that take information from a user.

Copy this code to get started, save as LastName_Python9

You will need to use that code and edit it! The comma (,) at the end of each print line is to continue the line and not start a new one. You can work in pairs to collaborate and create your own input programs that asks different questions and generates different information. You may choose to make it more complex by inserting calculations. However, you should first look up what raw input is online. Reflect afterwards on the quality of the program and your ability to collaborate with another coder.