01: Python: Output

Extend it:

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

Whatever you might have heard people say about programmers, programming can be a really creative thing: You get to write code that can do absolutely anything. You can get a computer to do and say whatever you want it to so you can create something that nobody’s ever created before or improve something that someone’s done already.

Here are three suggestions for challenges to work on in order to practise outputting text using the print  function in python.

Challenges:

You don’t need to do all of these challenges: just choose one.

If you can think of a more creative thing to do – go for it – as long as you use print at least 5 times and don’t have any error messages.

  1. Write code that outputs the lines of your favourite song

    Why not write a new verse or improve the lyrics to make it more personal to you?

  2. Write code that tells 5 different jokes

    Try to think of at least one joke yourself

  3. Write code that tells a short bedtime story for kids

    A good story has a start, a middle and an end. You want it to be interesting but not to scary…

One thought on “01: Python: Output

Leave a Reply

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