Jump to content

SEDOLs: Difference between revisions

(→‎{{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)
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]
}
 
890

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.