RosettaCodeData/Task/Multiple-distinct-objects/Julia/multiple-distinct-objects-2.julia

2 lines
82 B
Text
Raw Permalink Normal View History

2018-06-22 20:57:24 +00:00
[foo() for i in 1:5] # Code this to call the function within each iteration