Files
mixly3/boards/default/python_pyodide/examples/大同出版社-五年级/上册/第13课让计算机会数数1.mix

1 line
3.2 KiB
XML

<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="ZvKRW4ew-Bd4/V+?5G/c" x="-616" y="-48"><field name="VAR">start_time</field><value name="VALUE"><block type="controls_millis" id="j3xIg2ift+=@La{@a;D~"></block></value><next><block type="variables_set" id="7`.+!DeSA#w7lF3895TN"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="@PCbj|)4aHa[u=o#5~^6"><field name="NUM">1</field></block></value><next><block type="controls_whileUntil" id="kTmL:K.^K`pTAd88jido"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="Fja6m=H|j|xXQejl6mTd"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="?Iho0oIgI7v0*6/]mvV8"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="Ph!;YS@AxT?cHRoBWTOl"><field name="VAR">i</field></block></value><value name="B"><block type="math_number" id="}3n(No50U(JZ0gM=RceE"><field name="NUM">1000</field></block></value></block></value><statement name="DO"><block type="inout_print" id="X}]v]0PnEZ~82*m*:H}/"><value name="VAR"><shadow type="text" id="6NItm[YB$1RC(e8R2X9k"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="3Z~UxMGoi,H_~2zrR=Y#"><field name="VAR">i</field></block></value><next><block type="variables_set" id=":{;FGV!66ijWM?)H`0Ng"><field name="VAR">i</field><value name="VALUE"><block type="math_arithmetic" id="#.yS0=:)Q7kH6!(cBhAT"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="6qXh9drcsYxQhn?LmH}-"><field name="NUM">1</field></shadow><block type="variables_get" id="OX^RR@!hWI6WBmHo(!yW"><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id="GO*s7rfsfyuHZSJj/X#J"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement><next><block type="variables_set" id=";Wp=A_e6JN,6Q~n)Al{+"><field name="VAR">end_time</field><value name="VALUE"><block type="controls_millis" id="f4rX?-8Za^wzM{z]Zm]["></block></value><next><block type="inout_print_many" id="gspMgb!_XBa2bv4.tfqg"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="VL1:^@)#5p/uy?~)!5Ag"><field name="TEXT">输出1~1000所花时间为</field></block></value><value name="ADD1"><block type="math_arithmetic" id="6g17u895anXpNw!cRX1?"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="f/aB2V-@pi{dg#n@AcwL"><field name="NUM">1</field></shadow><block type="variables_get" id="BMi?L~;a+)uvMf9vtrU("><field name="VAR">end_time</field></block></value><value name="B"><shadow type="math_number" id="s5Et5=NE;hr2]vQ5=I@R"><field name="NUM">1</field></shadow><block type="variables_get" id="GptAtR4(.sd7eUkyRTuA"><field name="VAR">start_time</field></block></value></block></value><value name="ADD2"><block type="text" id="gyh!)g3oYeYscC5lp;a`"><field name="TEXT"></field></block></value></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IHRpbWUKCgpzdGFydF90aW1lID0gdGltZS50aW1lKCkKaSA9IDEKd2hpbGUgaSA8PSAxMDAwOgogICAgcHJpbnQoaSkKICAgIGkgPSBpICsgMQplbmRfdGltZSA9IHRpbWUudGltZSgpCnByaW50KCfovpPlh7oxfjEwMDDmiYDoirHml7bpl7TkuLonLCBlbmRfdGltZSAtIHN0YXJ0X3RpbWUsICfnp5InKQo=</code>