Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,10 @@
|
||||
def total_points(batch: List[Int]) -> Int:
|
||||
var total = 0
|
||||
for count in batch:
|
||||
total = count
|
||||
return total
|
||||
|
||||
|
||||
def main():
|
||||
var batch: List[Int] = [12, 8, 20, 5]
|
||||
print("total points:", total_points(batch))
|
||||
Reference in new issue
Block a user