View Problem

Define an empty list

Assign the variable "list" to a list with no elements
DiskEdit
python
list = []
ExpandDiskEdit
csharp 3
var list = new List<object>();
ExpandDiskEdit
java
List list = Collections.emptyList();
ExpandDiskEdit
java
String[] list = {};
ExpandDiskEdit
fantom
list := [,]
DiskEdit
clojure
(list)
DiskEdit
clojure
'()

Submit a new solution for python, csharp, java, fantom ...
There are 19 other solutions in additional languages (cpp, erlang, fsharp, go ...)