RosettaCodeData/Task/Loops-Foreach/R/loops-foreach.r

3 lines
65 B
R
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
a <- list("First", "Second", "Third", 5, 6)
for(i in a) print(i)