SEDOLs: Difference between revisions
m
→{{header|langur}}
(→{{header|Python}}: Simplify modulo expression, no need for the workaround that is only necessary when % is a remainder operator when Python's % is a proper modulo operator) |
Langurmonkey (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 2,408:
=={{header|langur}}==
{{trans|Go}}
<syntaxhighlight lang="langur">val .csd =
switch len(.code) {
case 0:
Line 2,424:
val .nums = s2n .code
val .sum = for[=0] .i of .nums {
_for += .nums[.i]
}
Line 2,430:
}
val .h =
# invalid...
"": 0,
|