0 10 20 30 40 50 60 70 80 90 100 151515 0

Welcome to type with code

Start typing or press to get going!

The python code you'll be racing to type out is all about:

Read all data from a text file

The easiest way to read data from a file is to get the whole file contents as a string.

This example loads the contents of the file "data.txt" into a string variable called contents

0 WPM
0%
0s
0%