9 lines
204 B
Mojo
9 lines
204 B
Mojo
# probe: can a List be printed, and how do its elements look?
|
|
def main():
|
|
var nums = [1, 2, 3]
|
|
print(nums)
|
|
var words = ["a", "b"]
|
|
print(words)
|
|
var empty = List[Int]()
|
|
print(empty)
|