Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,9 @@
|
||||
def total(readings: Int) -> Int:
|
||||
var s = 0
|
||||
for r in readings:
|
||||
s += r
|
||||
return s
|
||||
|
||||
|
||||
def main():
|
||||
print("sum:", total(3, 4, 5))
|
||||
Reference in new issue
Block a user