Skip to content
ExamSpine

Lesson 1.1 · Write it

First line

A whole programPython or Java1 test

Write a program that prints exactly this one line:

Ready to code.

  1. Everything is checked exactly: the capital R, the spaces between the words and the full stop at the end. Spaces after the full stop are ignored.
  2. Print nothing else: one line, and no other text before or after it.

The program reads no input. In Python, the whole program can be one line. In Java, the page starts you with a class and its main method: write your line between the braces of main, and print with System.out.println.

Running Java here comes later. You can still write your Java answer (it stays while this page is open) and compare it with our worked solution. Or try this exercise in Python.

Examples

Your program is run once, as in the example below. Only what it prints is checked.

  • the one line, exactly (rules 1 and 2)

    You type

    Nothing

    It prints

    Ready to code.
solution.pySolution.java