Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Named Arguments [4/9]

In a free form programming language, the whitespace is mostly unimportant. A program can be divided across lines and separated by blanks as one pleases.

The words of the language cannot be split up. Also, literal expressions like strings and numbers cannot be split up.

Freedom is sometimes dangerous. Badly formatted programs are hard to read, so many errors tend to creep in. That's why we won't write disorderly programs, written like the second statement of this program.

Both statements of this program are identical and produce identical results.
[Run the program]

Exercise:

Change the second statement of the program so that it prints out the number of minutes required to make one week.

Loading...