View Problem

Define a static list

Define the list [One, Two, Three, Four, Five]
DiskEdit
python
list = ['One', 'Two', 'Three', 'Four', 'Five']
print list
DiskEdit
clojure
(def a '[One Two Three Four Five])
DiskEdit
csharp
IList<string> list = new string[]{"One","Two","Three","Four","Five"};
ExpandDiskEdit
erlang
List = [one, two, three, four, five],
ExpandDiskEdit
erlang
List = ['One', 'Two', 'Three', 'Four', 'Five'],
ExpandDiskEdit
fantom
list := ["One", "Two", "Three", "Four", "Five"]

Submit a new solution for python, clojure, csharp, erlang ...
There are 30 other solutions in additional languages (cpp, fsharp, go, groovy ...)