11
LINES
Input/output example
1 | input=
|
2 | [[digit ::=
|
3 | "0"..."9"]]
|
4 | output=
|
5 | [[function parse_digit()
|
6 | local c = char()
|
7 | if c ~= nil and c >= '0' and c <= '9' then
|
8 | next()
|
9 | return c
|
10 | end
|
11 | end]] |
download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Image recognition results
Snippet ID: |
#118 |
Snippet name: |
parse_digit |
Eternal ID of this version: |
#118/1 |
Text MD5: |
4bf877502e8a556441d94bc36026a470 |
Author: |
stefan |
Category: |
python parsing |
Type: |
Input/output example |
Public (visible to everyone): |
Yes |
Archived (hidden from active list): |
No |
Created/modified: |
2014-01-10 14:37:28 |
Source code size: |
187 bytes / 11 lines |
Pitched / IR pitched: |
No / Yes |
Views / Downloads: |
920 / 394 |
Referenced in: |
[show references] |