Welcome to Python LEARNING OBJECTIVE To demonstrate the

Welcome to Python!

LEARNING OBJECTIVE • To demonstrate the use of Python program and be able to input basic code. • • To recognise what syntax is. To Identify and Name the basic Python data types

Starter Activity: Sentence Sort

So. . . What is Syntax? the arrangement of words and phrases to create well-formed sentences in a language.

BASIC PYTHON DATA TYPES String – a type of variable for storing text “strings”. Integers – for storing numerical values

BASIC PYTHON DATA TYPES CONTINUED. . List – A sequence of data inside square brackets [ ]. Tuple – A sequence of data inside brackets ( ) Which cannot be changed

Open Python IDLE Software Open your Workbooks at Page 2 Turn to task one in your workbooks and enter the code shown to create your program. If you complete task one, move to task two Tick off as you complete!

LEARNING OBJECTIVE • To demonstrate the use of Python program and be able to input basic code. • • To recognise what syntax is. To Identify and Name the basic Python data types

Plenary Quiz What Am I? Q 1: A data type for storing text?

Q 2: A great programming language?

Q 3: An error produced when a computer cannot recognise the code supplied by a programmer?
![Q 4: I am a sequence of data inside square brackets [ ]. Q 4: I am a sequence of data inside square brackets [ ].](http://slidetodoc.com/presentation_image_h2/915c1593b2ecc895a21f1e80e731bdf3/image-12.jpg)
Q 4: I am a sequence of data inside square brackets [ ].

Q 5: You would enter this after your file name if you wanted to save me in python?

Q 6: I am A sequence of data inside brackets ( ) Which cannot be changed.

Q 7: I am a numerical value in Python.

HOMEWORK Create an account at www. codecademy. com Complete the first Python course called ‘Python Syntax’
- Slides: 16