blob: 8e886554a90e4cfff92a7929061b64c93519d2fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# coding=utf-8
id = 165
name = 'number/2'
slug = 'numbers with potential leading zeros'
description = '''\
<p>Write a DCG with the starting symbol <code>number</code> for the language of non-negative integers. The numbers may include leading zeros.</p>
<p>Example words: <code>123</code>, <code>54</code>, <code>0122</code>, <code>0001221</code>, <code>0</code>.</p>'''
hint = {}
|