SEDOLs: Difference between revisions

22 bytes removed ,  2 months ago
→‎{{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
(→‎{{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 3,204:
sedol, sedolweight)
)
return str((10 - (tmp % 10)) % 10)
 
for sedol in '''
Line 3,248:
Right(0)
)
)(lambda d: Right(str((10 - (d % 10)) % 10)))
 
 
47

edits