made some tests green; implemented 'from module import nil'
This commit is contained in:
parent
7b36d3d6ff
commit
1c9b4e5d33
16 changed files with 84 additions and 975 deletions
|
|
@ -27,11 +27,11 @@ Nimrod looks like this:
|
|||
var sum = 0
|
||||
|
||||
for line in stdin.lines:
|
||||
count += 1
|
||||
sum += line.len
|
||||
count += 1
|
||||
sum += line.len
|
||||
|
||||
echo "Average line length: ",
|
||||
if count > 0: sum / count else: 0
|
||||
if count > 0: sum / count else: 0
|
||||
|
||||
|
||||
Nimrod is efficient
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue