Digital Literacy Key Stage 3 - Python


Displaying Text

In this lesson you will learn how to write commands to be displayed on screen.

Starter

Type

< print "Hello There" >

Save your program as Hello.

Press F5 to run the program (you must save it first).

Main

Activity 1

Type

< print "I like humans_\n for lunch" >

Save as Humans.

  • Open Python. It will automatically open in Shell Mode. To open Edit Mode click on Options, Configure IDLE.
  • Then in the General tab chose Open Edit Window.
  • Restart Python and it will open in Edit Mode.
  •  Assessment

  • I have run the code Hello.
  • I have run the code MyName.
  • I have run the code Song.
  • I have screen shot the code for the program Song.