Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 539 Bytes

File metadata and controls

18 lines (13 loc) · 539 Bytes
lang ID
title Standing in Line
answer ^\[([-\.\d]+)(\s*,\s*[-\d\.]+){3,}\]$
ok Excellent
error Try adding a fourth number to the list

Lists (arrays) store things in some order.

Like standing in line for popcorn. You are behind someone and you wouldn't dream of pushing them aside, right? And the guy behind you, you've got a close eye on him, right?

Here's a list for you. Lottery numbers:

[12, 47, 35]

Try adding a number to this list: type a comma after 35 followed by a number. The space is optional.