RosettaCodeData/Task/Loops-For/Groovy/loops-for.groovy

7 lines
83 B
Groovy

for(i in (1..6)) {
for(j in (1..i)) {
print '*'
}
println ()
}