Type with code!

Type with code!

Free tool to help you improve your typing speed whilst learning to code.

I have a few students who love tools where you can practise their typing skills to keep improving their word per minute (WPM) score.

I really like the competitive racing feature in Type Racer where students can race against each other but students can get frustrated because whilst it’s fun to play, it’s hard to improve because it doesn’t show you where the next key is that you need to press.

Some of my students thought it’d be fun to have an online tool where you can learn new programming skills as well as learning how to type faster.

I’ve put this typing tool together so that students can learn new Python or VB skills from the quick reference guide whilst also competing to get the fastest WPM typing score.

You can choose a specific topic in python or VB or jump into a random snippet of code and type it out as fast as you can.

  • Variables and constants
  • String manipulation
  • Builtin functions
  • Input and output
  • Arrays
  • Conditional logic
  • Repetition / Iteration
  • Functions / Procedures

Here’s the link: https://type.withcode.uk/

09: Selection in Python

There are three main building blocks that all computer programs consist of: sequence, selection and iteration. This activity is designed to help you understand and use selection in python programs.

Tell your code how to make decisions
Selection: Tell your code how to make decisions

Selection means making a choice. You will select different choices hundreds of times every day:

What shall I select to eat for breakfast?

Which selection of clothes shall I wear?

Which people with I select to speak to today (and who will I try to ignore!)

examples of selection in everyday life.

Most programs need to be able to make choices too. You can write code that makes choices by using selection.

Contents:

Page 1: Intro

Page 2: The theory: learn what you need to know as fast as possible.

Page 3: Try it: try out and adapt some working python code snippets.

Page 4: Debug it: Learn how to find and fix common mistakes.

Page 5: Extend it: Choose a project idea to use your newfound python skills.