2023-09-05 09:38:50 +08:00
|
|
|
# For Loop using an increasing range() expression as its iterable
|
|
|
|
|
2022-03-26 20:58:37 +08:00
|
|
|
@extern
|
|
|
|
def output_int32(x: int32):
|
|
|
|
...
|
|
|
|
|
|
|
|
def run() -> int32:
|
2023-09-05 09:38:50 +08:00
|
|
|
i = 0
|
|
|
|
for i in range(10):
|
|
|
|
output_int32(i)
|
|
|
|
output_int32(i)
|
2022-03-26 21:10:05 +08:00
|
|
|
return 0
|