SEDOLs: Difference between revisions

No change in size ,  16 days ago
m
(→‎{{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)
(One intermediate revision by the same user not shown)
Line 2,408:
=={{header|langur}}==
{{trans|Go}}
<syntaxhighlight lang="langur">val .csd = ffn(.code) {
switch len(.code) {
case 0:
Line 2,424:
val .nums = s2n .code
val .sum = for[=0] .i of .nums {
_for += .nums[.i] x* .weight[.i]
}
 
Line 2,430:
}
 
val .h = h{
# invalid...
"": 0,
885

edits