Получение цифр числа
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="variables_set" id="81" x="88" y="88">
<field name="VAR">Двузначное число</field>
<value name="VALUE">
<block type="text_prompt_ext" id="106">
<mutation type="NUMBER"></mutation>
<field name="TYPE">NUMBER</field>
<value name="TEXT">
<block type="text" id="107">
<field name="TEXT">Введите двузначное число, например 17</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="119">
<field name="VAR">Первая цифра</field>
<value name="VALUE">
<block type="math_round" id="424">
<field name="OP">ROUNDDOWN</field>
<value name="NUM">
<block type="math_arithmetic" id="451">
<field name="OP">DIVIDE</field>
<value name="A">
<block type="variables_get" id="460">
<field name="VAR">Двузначное число</field>
</block>
</value>
<value name="B">
<block type="math_number" id="479">
<field name="NUM">10</field>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="120">
<field name="VAR">Вторая цифра</field>
<value name="VALUE">
<block type="math_modulo" id="378">
<value name="DIVIDEND">
<block type="variables_get" id="488">
<field name="VAR">Двузначное число</field>
</block>
</value>
<value name="DIVISOR">
<block type="math_number" id="515">
<field name="NUM">10</field>
</block>
</value>
</block>
</value>
<next>
<block type="text_print" id="585">
<value name="TEXT">
<block type="text_join" id="728">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="666">
<field name="TEXT">Первая цифра числа = </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="737">
<field name="VAR">Первая цифра</field>
</block>
</value>
</block>
</value>
<next>
<block type="text_print" id="738">
<value name="TEXT">
<block type="text_join" id="739">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="740">
<field name="TEXT">Вторая цифра числа = </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="741">
<field name="VAR">Вторая цифра</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>