1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/book/for_scope.zok
Thibaut Schaeffer 588943567f
Merge pull request #1174 from Zokrates/fix-docs
Fix inconsistencies in docs
2022-06-29 10:37:01 +02:00

8 lines
No EOL
135 B
Text

def main() -> u32 {
u32 mut a = 0;
for u32 i in 0..5 {
a = a + i;
}
// return i; <- not allowed
return a;
}