groovy输出1-10
1
for(
int
i=
;i<
11
;i++)
2
????????
{
3
????????????
4
println
(i);
5
}
for(i?
in
..
10
)
.
upto
(
){
print
"$it"