32 lines
309 B
Julia
Executable File

#!/usr/bin/julia
function input(prompt::String="")
print(prompt)
chomp(readline())
end
function main()
list = {}
while true
date = input("Type date: ");
addItem = input("Add an item: ")
together = "$addItem-$date"
push!(list,together)
println(list)
end
end
main()