Avatar

Avatar
MrsAnderson

Monday 7 November 2016

8wbCP2 8th November P2. 903. Python Lesson 2.

LO Understand how to use selection to create a simple calculator.
SET HOMEWORK ! classroom.google.com Task 3.01 by 15th November 2016.

Open up JCA 3.2 Python Evidence document on classroom.google.com

Teacher's Slides

Starter:  Write down anything you can remember from last week's Python 1 lesson.  Anything at all!
Key words were. Python, Syntax, String.

Can anyone define a String? 

String – a type of variable for storing text “strings”.
Strings are a list characters in an order.
 
Development 1
  1. Look at the Print out. What do you think this programming will do. Work in pairs / small groups?
  2. Copy the code.   Can you get it to work?
  3.  Ask a friend to test your errors. Remember, we need to make mistakes in programming to learn from them.
  4.  If you have trouble loading up the Idle software. Try this online Python editor.  www.repl.it
  5. You'll need to create an account to save it.
 
 
Deeper Learning.
 
Can you experiment with more complex code in terms of multiplication and division?
 
Add to your Code Academy programming from last lesson.
 

Review key learning. Integer, Float - what do they mean? How do they work? What mistakes did you learn from today?

No comments:

Post a Comment