Lesson 2
Learning Intentions
TBAT - combine maths and text Success Criteria You will use escape sequences effectively and explain what is a string, integer and a float |
Keywords
|
Starter Activity - Type accurately challenge!
Can you type out the code in the Code Box below with no errors – first time?
Can you type out the code in the Code Box below with no errors – first time?
Lesson Power point
It can be confusing, try typing in the code below and running it.
Code Box - 2.2
print("Here is a speech mark: \" and here is a slash: \\")
You can avoide speech marks but be careful if you get it wrong you will get lots of errors
Code box 2.3
print ('I say "High", you say "Low". You say "Why?" and I say "I don\'t know". On no.')
Lesson Power point - Strings
Combining text and maths and going loopy
Lesson Power point - text, maths and going loopy
Code Box - 2.2
print("Here is a speech mark: \" and here is a slash: \\")
You can avoide speech marks but be careful if you get it wrong you will get lots of errors
Code box 2.3
print ('I say "High", you say "Low". You say "Why?" and I say "I don\'t know". On no.')
Lesson Power point - Strings
Combining text and maths and going loopy
Lesson Power point - text, maths and going loopy