This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+9
@@ -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