>_Code Club

Exercises

Do them in order: each one uses what you learned before. Press Check my answer when you think you've got it. Your code and progress are saved in this browser.

Python

0/11 done.

A friendly first language. Great for games, maths and automating boring stuff.

  1. 01Hello, World!Make the computer say something. Your very first program.
  2. 02VariablesGive names to values so you can reuse them.
  3. 03The computer is a calculatorLet Python do the maths for you.
  4. 04FunctionsPackage code into reusable little machines.
  5. 05Making decisionsif, elif, else, so your program can choose what to do.
  6. 06LoopsRepeat things without copy-pasting.
  7. 07ListsKeep many values in one place.
  8. 08Playing with textStrings have superpowers.
  9. 09DictionariesLook things up by name instead of by position.
  10. 10FizzBuzzA classic puzzle that real programmers get asked in job interviews.
  11. 11Game: guess the numberBuild a real interactive game using everything you've learned.free play

JavaScript

0/5 done.

The language of the web. Every website you visit runs it.

  1. 01Hello, JavaScript!Your first line of JavaScript, the language of the web.
  2. 02Variables and template stringsconst, let, and putting values inside text.
  3. 03FunctionsTwo ways to write functions in JavaScript.
  4. 04Arrays and loopsPython's lists are called arrays in JavaScript.
  5. 05Game: rock, paper, scissorsPlay against the computer in the terminal.free play