01: Python: Output

The Theory:

Write a program that displays an output
Output: Write a program that displays an output

Almost every computer program needs to send data out into the real world. An output could be switching on or off a light, sending some work to a printer or sending some sound to a speaker. Most often though, output is displaying something on a screen.

Output means sending information out from the computer into the real world

Information is the stuff that gets sent out: it can be text, pictures, sound or whatever your program deals with.

We’re going to learn how to write python code that will display text on a screen.

Key point: To display text in python, you use the print function.

On the next page you’ll get some code examples that you can try out for yourself.

9 thoughts on “01: Python: Output

  • Pingback: Python for beginners: free interactive self marking activities

  • February 26, 2019 at 12:49 pm
    Permalink

    it was amazing

    Reply
    • January 6, 2021 at 10:46 am
      Permalink

      the work was really cool

      Reply
  • February 25, 2020 at 1:02 pm
    Permalink

    VERY USEFUL 🙂 XXXXXX

    Reply
  • January 6, 2021 at 5:29 pm
    Permalink

    Thank you so much for removing the Google Adverts and your swift response. Do you have somewhere dontations can be made or similar to make up for the lost revenue, I’d throw in a least a cup of coffee…

    Reply
    • January 7, 2021 at 8:58 pm
      Permalink

      You’re welcome. That’s a very kind offer but don’t worry about it – I’ll switch to a different ad provider that doesn’t show such intrusive ads or gives more control over where they’re placed. Look after yourself – all the best for this new lockdown.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *