update example
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="-R?$,g?yY$eWQQ1yvnIw" x="-422" y="-51"><field name="VAR">year</field><value name="VALUE"><block type="inout_type_input" id="5Q.H$;P/hkT~(RO8)0}="><field name="DIR">int</field><value name="VAR"><shadow type="text" id=")bt[ALwgSd2(F;pH4T3s"><field name="TEXT">请输入一个年份:</field></shadow></value></block></value><next><block type="controls_if" id="2p0@;6}`HRfsK0@4RoHB"><mutation elseif="1" else="1"></mutation><value name="IF0"><block type="logic_operation" id="?~$/(V?#,{=QF~AcqFq7"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="TPdZ$XVif=,])!LX}T5Q"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="H8$P|zeahVw(sT}ztjLf"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="uM_c/6Z*f*KaGT,+=iS#"><field name="NUM">1</field></shadow><block type="variables_get" id="Oqlzy2#{#R0D~KzAFuA]"><field name="VAR">year</field></block></value><value name="B"><shadow type="math_number" id="3CDuh`b{j).}cqi0i$p}"><field name="NUM">4</field></shadow></value></block></value><value name="B"><block type="math_number" id="$W1q#gi]F[9Y=|*Lh^rN"><field name="NUM">0</field></block></value></block></value><value name="B"><block type="logic_compare" id="yFV`r?JS~kh`p?YRZ:,*"><field name="OP">NEQ</field><value name="A"><block type="math_arithmetic" id="y5vq,aq@tBw_.Ojt)TU2"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="uM_c/6Z*f*KaGT,+=iS#"><field name="NUM">1</field></shadow><block type="variables_get" id="e2s!76dOm+~f.nKru0W)"><field name="VAR">year</field></block></value><value name="B"><shadow type="math_number" id="PQ2I?UkyR7?Ja.G8a@b,"><field name="NUM">100</field></shadow></value></block></value><value name="B"><block type="math_number" id="n~tjsK*Bv:qnTFXArt!A"><field name="NUM">0</field></block></value></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="w5:=X8qq{^CzA]{BabV@"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id=":w_RDJ7N^fiK{f.7^LL:"><field name="VAR">year</field></block></value><value name="ADD1"><block type="text" id="TQmMZn~$APFYv?|o0mkX"><field name="TEXT">是闰年</field></block></value></block></statement><value name="IF1"><block type="logic_compare" id="^rf_.AW~Aps;XDYPuhI["><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="qk}+,NlI_/r7,](=kH5,"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="uM_c/6Z*f*KaGT,+=iS#"><field name="NUM">1</field></shadow><block type="variables_get" id="-#}kl[+CFk62:j-$Dv7e"><field name="VAR">year</field></block></value><value name="B"><shadow type="math_number" id="*`Xb_5o:zNL`}iIYB~gn"><field name="NUM">400</field></shadow></value></block></value><value name="B"><block type="math_number" id="(2nk5}I![TyLA1f/KqcR"><field name="NUM">0</field></block></value></block></value><statement name="DO1"><block type="inout_print_many" id="dl2dO-;ZXORx3G/Laftn"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="5G8nk#He`eV._I|+Mb?a"><field name="VAR">year</field></block></value><value name="ADD1"><block type="text" id="NQhCarKhkl$Zg_FnR#TF"><field name="TEXT">是闰年</field></block></value></block></statement><statement name="ELSE"><block type="inout_print_many" id="G,.nKD}~$SO{j$v9M6f1"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="pjCNM*FORKhWb`SbG4)-"><field name="VAR">year</field></block></value><value name="ADD1"><block type="text" id="5b9vl.cwGi=Y[l#N74ZW"><field name="TEXT">是平年</field></block></value></block></statement></block></next></block></xml><config>{}</config><code>eWVhciA9IGludChpbnB1dCgn6K+36L6T5YWl5LiA5Liq5bm05Lu977yaJykpCmlmIHllYXIgJSA0ID09IDAgYW5kIHllYXIgJSAxMDAgIT0gMDoKICAgIHByaW50KHllYXIsICfmmK/pl7DlubQnKQplbGlmIHllYXIgJSA0MDAgPT0gMDoKICAgIHByaW50KHllYXIsICfmmK/pl7DlubQnKQplbHNlOgogICAgcHJpbnQoeWVhciwgJ+aYr+W5s+W5tCcpCg==</code>
|
||||
@@ -0,0 +1 @@
|
||||
<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>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="otn94-@p`V|Q5tU-lgN7" x="-616" y="-48"><field name="VAR">start_time</field><value name="VALUE"><block type="controls_millis" id="5/~DspnhOeb|7.ioK4e$"></block></value><next><block type="variables_set" id="$;YvKZ3?fOBgNG.fD]*N"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="E^J9^sNQ[qqF|M0ESFM5"><field name="NUM">1</field></block></value><next><block type="variables_set" id="bIrmS}.8nN~+ph!mU8uo"><field name="VAR">sum</field><value name="VALUE"><block type="math_number" id="N3Om@h47qg.Q(A[8?]TD"><field name="NUM">0</field></block></value><next><block type="controls_whileUntil" id="et`p6JUHh65srC?mA2:?"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="N=L2AbnfWIO0IC|0!Y9w"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="#AcO=vefC2y_UpR@B7V1"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="s_q#@OS/.0UkO!7QEkvo"><field name="VAR">i</field></block></value><value name="B"><block type="math_number" id="oFP.kXGh}^EiQw_w~Lt:"><field name="NUM">1000000</field></block></value></block></value><statement name="DO"><block type="variables_set" id="wy$]X_oGPrI9Kq#$2Rs3"><field name="VAR">sum</field><value name="VALUE"><block type="math_arithmetic" id="N|lDRBTyMXajVe+z:,$D"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="2ee:r;yy_X/v!+rv{y[6"><field name="NUM">1</field></shadow><block type="variables_get" id="6=1K|licE*_*d=iw,D?h"><field name="VAR">sum</field></block></value><value name="B"><shadow type="math_number" id="u]kF;Z5=$$^Vtf(Hf3c~"><field name="NUM">1</field></shadow><block type="variables_get" id="z;R7X.?s~(:uiOie,LoF"><field name="VAR">i</field></block></value></block></value><next><block type="variables_set" id="=_O}w+*siC;m^GF57pRi"><field name="VAR">i</field><value name="VALUE"><block type="math_arithmetic" id="W9MP-^!#oPoItOfg0?J@"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="2ee:r;yy_X/v!+rv{y[6"><field name="NUM">1</field></shadow><block type="variables_get" id="JwagDWCY$5,Hk{7y+etF"><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id="y1hSPdjK;o~gt(o9mq!I"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement><next><block type="inout_print_many" id="$T/=F?mj_6xG3K{3,qF5"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="oY]BS|o7.ISAg@[n6|SD"><field name="TEXT">1+2+……+1000000=</field></block></value><value name="ADD1"><block type="variables_get" id="8j_-EfMMe.XIO7@#S/e$"><field name="VAR">sum</field></block></value><next><block type="variables_set" id="qujcF)U*(^)__pZ$4I2L"><field name="VAR">end_time</field><value name="VALUE"><block type="controls_millis" id="(vuDPyuEva*rs!#o/H3v"></block></value><next><block type="inout_print_many" id="tffMhEIyj!tjXe5z3FJw"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="yJk$D`)j#X$c4fa7PkPu"><field name="TEXT">累加1~1000000所花时间为</field></block></value><value name="ADD1"><block type="math_arithmetic" id="{](M4JMywR0J=;TEdXK5"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="Ti3Bqy!}fvRrgqSsrdG@"><field name="NUM">1</field></shadow><block type="variables_get" id="Cf)cAM/Ow1=k.`@z3GIt"><field name="VAR">end_time</field></block></value><value name="B"><shadow type="math_number" id="$mj|G2+)]qZnaYej;sxl"><field name="NUM">1</field></shadow><block type="variables_get" id="YBlB=ZJHPmC)VkW/`2;d"><field name="VAR">start_time</field></block></value></block></value><value name="ADD2"><block type="text" id="KIbKrh].=_$b}EygPE-E"><field name="TEXT">秒</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IHRpbWUKCgpzdGFydF90aW1lID0gdGltZS50aW1lKCkKaSA9IDEKc3VtMiA9IDAKd2hpbGUgaSA8PSAxMDAwMDAwOgogICAgc3VtMiA9IHN1bTIgKyBpCiAgICBpID0gaSArIDEKcHJpbnQoJzErMivigKbigKYrMTAwMDAwMD0nLCBzdW0yKQplbmRfdGltZSA9IHRpbWUudGltZSgpCnByaW50KCfntK/liqAxfjEwMDAwMDDmiYDoirHml7bpl7TkuLonLCBlbmRfdGltZSAtIHN0YXJ0X3RpbWUsICfnp5InKQo=</code>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="controls_forEach" id="g.^o$yehb91Ydu{l*Df0" x="-556" y="-100"><value name="LIST"><shadow type="list_many_input" id="*C;J=n[@-$3eDRQi#SWL"><field name="CONTENT">'welcome','to','our','world'</field></shadow></value><value name="VAR"><shadow type="variables_get" id="Mj_Q7o{i(cV*/]OAhg/x"><field name="VAR">str</field></shadow></value><statement name="DO"><block type="inout_print_inline" id="KS$uc96C~@PJT5V}o(*["><value name="VAR"><shadow type="text" id="]48MAi43,@1#am}UkwkN"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="^kWHla!,N_~3xqGAL}:n"><field name="VAR">str</field></block></value></block></statement></block></xml><config>{}</config><code>Zm9yIHN0cjIgaW4gWyd3ZWxjb21lJywndG8nLCdvdXInLCd3b3JsZCddOgogICAgcHJpbnQoc3RyMixlbmQgPSIiKQo=</code>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="bIrmS}.8nN~+ph!mU8uo" x="-586" y="-104"><field name="VAR">n</field><value name="VALUE"><block type="math_number" id="N3Om@h47qg.Q(A[8?]TD"><field name="NUM">101</field></block></value><next><block type="controls_whileUntil" id="et`p6JUHh65srC?mA2:?"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="N=L2AbnfWIO0IC|0!Y9w"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="#AcO=vefC2y_UpR@B7V1"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="s_q#@OS/.0UkO!7QEkvo"><field name="VAR">n</field></block></value><value name="B"><block type="math_number" id="oFP.kXGh}^EiQw_w~Lt:"><field name="NUM">200</field></block></value></block></value><statement name="DO"><block type="controls_if" id="kJH|iQ$j):3O7.H/L+@r"><value name="IF0"><block type="logic_operation" id="==L,KsdwOLbm!v{Rx*z;"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="l7[Z88)EnF!G_u`sQUo3"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="#lSaoU1idZ:kPz^?e0OP"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="F+1a/0iwFz]]st;ZKR3D"><field name="NUM">1</field></shadow><block type="variables_get" id="w@q!bb]|67MGH/I=!jjj"><field name="VAR">n</field></block></value><value name="B"><shadow type="math_number" id="]Ri=Bk[D`8S!DPbWPObl"><field name="NUM">5</field></shadow></value></block></value><value name="B"><block type="math_number" id="iv$1QAeS6)zR^w=c,Yw5"><field name="NUM">3</field></block></value></block></value><value name="B"><block type="logic_compare" id="qE8c?-RxQ;13}62CB1N/"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="S}a2-:lNI{yaN/u;+F9`"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="F+1a/0iwFz]]st;ZKR3D"><field name="NUM">1</field></shadow><block type="variables_get" id=":2=5h@?Qe!EfMV`HU]8:"><field name="VAR">n</field></block></value><value name="B"><shadow type="math_number" id="#EQRVj_AOSn_liU#h0F*"><field name="NUM">7</field></shadow></value></block></value><value name="B"><block type="math_number" id="oDOmDrmG$jyy$65Tp?^."><field name="NUM">2</field></block></value></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="$T/=F?mj_6xG3K{3,qF5"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="oY]BS|o7.ISAg@[n6|SD"><field name="TEXT">符合条件的玩具数量:</field></block></value><value name="ADD1"><block type="variables_get" id="8j_-EfMMe.XIO7@#S/e$"><field name="VAR">n</field></block></value></block></statement><next><block type="variables_set" id="di_gpeJ{QaBIct:Th-UV"><field name="VAR">n</field><value name="VALUE"><block type="math_arithmetic" id="KSLc-[BBepl*J5YF1.;B"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="hEJbkT{RW#=rp3=xQUyH"><field name="NUM">1</field></shadow><block type="variables_get" id="-HUQJ;}/-UpGK|e9v#t)"><field name="VAR">n</field></block></value><value name="B"><shadow type="math_number" id="f/w5b4DALPuVu@`(z=D_"><field name="NUM">3</field></shadow></value></block></value></block></next></block></statement></block></next></block></xml><config>{}</config><code>biA9IDEwMQp3aGlsZSBuIDw9IDIwMDoKICAgIGlmIG4gJSA1ID09IDMgYW5kIG4gJSA3ID09IDI6CiAgICAgICAgcHJpbnQoJ+espuWQiOadoeS7tueahOeOqeWFt+aVsOmHj++8micsIG4pCiAgICBuID0gbiArIDMK</code>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="-R?$,g?yY$eWQQ1yvnIw" x="-487" y="-84"><field name="VAR">height</field><value name="VALUE"><block type="inout_type_input" id="5Q.H$;P/hkT~(RO8)0}="><field name="DIR">float</field><value name="VAR"><shadow type="text" id=")bt[ALwgSd2(F;pH4T3s"><field name="TEXT">请输入您的身高(米):</field></shadow></value></block></value><next><block type="controls_if" id="2p0@;6}`HRfsK0@4RoHB"><mutation else="1"></mutation><value name="IF0"><block type="logic_compare" id="TPdZ$XVif=,])!LX}T5Q"><field name="OP">LT</field><value name="A"><block type="variables_get" id="^.-!rzU{YCc|hc$yT6]="><field name="VAR">height</field></block></value><value name="B"><block type="math_number" id="$W1q#gi]F[9Y=|*Lh^rN"><field name="NUM">1.2</field></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="w5:=X8qq{^CzA]{BabV@"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="TQmMZn~$APFYv?|o0mkX"><field name="TEXT">您的身高为:</field></block></value><value name="ADD1"><block type="variables_get" id="dO04_XE?P9.K=mSQ2:R:"><field name="VAR">height</field></block></value><value name="ADD2"><block type="text" id="2wmCck-jR69sr^:U`]fq"><field name="TEXT">米,免票</field></block></value></block></statement><statement name="ELSE"><block type="inout_print_many" id="}A!d0HXuvJq(P1~@^i,*"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="dA89V.Jh4PYDKy5)/87-"><field name="TEXT">您的身高为:</field></block></value><value name="ADD1"><block type="variables_get" id="RR=h_hWa(tsxbSiHn4.t"><field name="VAR">height</field></block></value><value name="ADD2"><block type="text" id="mrlx/Q*DPtgKG-e{DvUG"><field name="TEXT">米,可以购买半价票</field></block></value></block></statement></block></next></block></xml><config>{}</config><code>aGVpZ2h0ID0gZmxvYXQoaW5wdXQoJ+ivt+i+k+WFpeaCqOeahOi6q+mrmO+8iOexs++8ie+8micpKQppZiBoZWlnaHQgPCAxLjI6CiAgICBwcmludCgn5oKo55qE6Lqr6auY5Li677yaJywgaGVpZ2h0LCAn57Gz77yM5YWN56WoJykKZWxzZToKICAgIHByaW50KCfmgqjnmoTouqvpq5jkuLrvvJonLCBoZWlnaHQsICfnsbPvvIzlj6/ku6XotK3kubDljYrku7fnpagnKQo=</code>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="-R?$,g?yY$eWQQ1yvnIw" x="-487" y="-84"><field name="VAR">a</field><value name="VALUE"><block type="inout_type_input" id="5Q.H$;P/hkT~(RO8)0}="><field name="DIR">int</field><value name="VAR"><shadow type="text" id=")bt[ALwgSd2(F;pH4T3s"><field name="TEXT">输入科普书的册数:</field></shadow></value></block></value><next><block type="variables_set" id=".g3B,yUItf.G]0!4:U+q"><field name="VAR">h</field><value name="VALUE"><block type="math_arithmetic" id="SMPJJDofE7CKv)VmD?#-"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="wv+?nIV(ItVfy}l`z2P{"><field name="NUM">1</field></shadow><block type="variables_get" id="!;a|Gqjewb$;{}eQrLJx"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="K{[cbcv@tY@{R(iH5#r9"><field name="NUM">8</field></shadow></value></block></value><next><block type="variables_set" id="Q)xOk|QtppLdF!wN72DA"><field name="VAR">b</field><value name="VALUE"><block type="inout_type_input" id="]Z8m0T`@aHyr=0*P+cy*"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="q5Q=*LWxH5)ju^xTu4C@"><field name="TEXT">输入故事书的册数:</field></shadow></value></block></value><next><block type="variables_set" id="?J-EjJzOzBuOB*VrTusw"><field name="VAR">j</field><value name="VALUE"><block type="math_arithmetic" id="r+UsPw-?_zKDilI}ATEh"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="wv+?nIV(ItVfy}l`z2P{"><field name="NUM">1</field></shadow><block type="variables_get" id="`}XIHOCwZA8BlUZI1e,j"><field name="VAR">b</field></block></value><value name="B"><shadow type="math_number" id="HtG=t?R`ADWJW~iS7?k."><field name="NUM">9</field></shadow></value></block></value><next><block type="variables_set" id="]`Zu[mpG!#,UpvdOervZ"><field name="VAR">s</field><value name="VALUE"><block type="math_arithmetic" id="~5=8S4AamDLQZN/-**Jq"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="wv+?nIV(ItVfy}l`z2P{"><field name="NUM">1</field></shadow><block type="variables_get" id="pc}|]h7z*Au-xTB~Ljl~"><field name="VAR">h</field></block></value><value name="B"><shadow type="math_number" id="f$o^=`[uJN*ht;8`:cu^"><field name="NUM">9</field></shadow><block type="variables_get" id="}$|`C1GIxE{]RGKQTR;j"><field name="VAR">j</field></block></value></block></value><next><block type="inout_print_many" id="w5:=X8qq{^CzA]{BabV@"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="TQmMZn~$APFYv?|o0mkX"><field name="TEXT">购书费用是:</field></block></value><value name="ADD1"><block type="variables_get" id="QOB{2E_rxhB)2:kQSS(u"><field name="VAR">s</field></block></value></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>YSA9IGludChpbnB1dCgn6L6T5YWl56eR5pmu5Lmm55qE5YaM5pWw77yaJykpCmggPSBhICogOApiID0gaW50KGlucHV0KCfovpPlhaXmlYXkuovkuabnmoTlhozmlbDvvJonKSkKaiA9IGIgKiA5CnMgPSBoICsgagpwcmludCgn6LSt5Lmm6LS555So5piv77yaJywgcykK</code>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="lP5vcAMqmIb=b0upxF)?" x="-802" y="-135"><field name="VAR">num</field><value name="VALUE"><block type="list_many_input" id="-rn_Ue:1:1Wy5;_mo]Lc"><field name="CONTENT">17,19,15,20,19</field></block></value><next><block type="variables_set" id=":8@XmhJ0Yv2}B9]tpiEC"><field name="VAR">cc</field><value name="VALUE"><block type="list_trig" id="]2?bx5k~z9_9~S@N2W]L"><field name="OP">LEN</field><value name="data"><shadow type="variables_get" id="T(+3q3TN4fy![JVGi54S"><field name="VAR">num</field></shadow></value></block></value><next><block type="variables_set" id="gLZ*+E:E#T5M`n$hE7X-"><field name="VAR">a</field><value name="VALUE"><block type="lists_get_index" id="?:Cf0?2,{TKma#b{r-wm"><value name="LIST"><shadow type="variables_get" id="x3PW$9.4BG~w4Wblq2@|"><field name="VAR">num</field></shadow></value><value name="AT"><shadow type="math_number" id="8}6=E`QB~kx8@2+p,l0j"><field name="NUM">0</field></shadow></value></block></value><next><block type="variables_set" id="]qALM6PMq{R!-;:.!!uD"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="V+RZ5bKIL`+/.ruSnnt!"><field name="NUM">1</field></block></value><next><block type="controls_whileUntil" id=")ShbCY*kzHTK?ac.eT*v"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id=".T|+-NhOeT[LI#K+rSwj"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="vYEtzl9{U-)kLI_;y:.o"><field name="OP">LT</field><value name="A"><block type="variables_get" id=";6*XGo]dFWQHQC+ok{ME"><field name="VAR">i</field></block></value><value name="B"><block type="variables_get" id="h:2/W-+TmmXMrod8evGe"><field name="VAR">cc</field></block></value></block></value><statement name="DO"><block type="controls_if" id=";l*gN2ns9gb#{xMCu`Pe"><value name="IF0"><block type="logic_compare" id="YdG2$4_w(P`TSn=XUQBA"><field name="OP">GT</field><value name="A"><block type="lists_get_index" id="P#s5wu;Px/NX_.~A`:iD"><value name="LIST"><shadow type="variables_get" id="b7^c]DtF1Pd/hyJTHO.9"><field name="VAR">num</field></shadow></value><value name="AT"><shadow type="math_number" id="]Gy*.C=87UXi]doDV!`^"><field name="NUM">0</field></shadow><block type="variables_get" id="8fow#.Jy7o`g5nJ,Dhu5"><field name="VAR">i</field></block></value></block></value><value name="B"><block type="variables_get" id="oN4rOpP^krHV-(HhT)wR"><field name="VAR">a</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="xd,4={8bmbM+;m[FaoIT"><field name="VAR">a</field><value name="VALUE"><block type="lists_get_index" id="ihF|[,wIE/x$76}R/A^|"><value name="LIST"><shadow type="variables_get" id="C)g8G3qUxW4fST@c[c:$"><field name="VAR">num</field></shadow></value><value name="AT"><shadow type="math_number" id="s*Q8[xXJ,cgO5Y;$!(ZM"><field name="NUM">0</field></shadow><block type="variables_get" id="+*^]JaH06iPv~E*348$J"><field name="VAR">i</field></block></value></block></value></block></statement><next><block type="variables_set" id="5.r[iD52~kuj+KSTV0g5"><field name="VAR">i</field><value name="VALUE"><block type="math_arithmetic" id=";[TG.@X_)fRw4j/7+-le"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="fdAf!6P@PNU92@[/s):W"><field name="NUM">1</field></shadow><block type="variables_get" id="sk,e/suTr(Zjektv8X0X"><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id="2@E5SX;(/b[Y,XW$_G^e"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement><next><block type="inout_print_many" id="{y3Nrgd?AHHNT5vmq_RL"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="Dv$mZJ@4hk92=E61TMl["><field name="TEXT">最大数为</field></block></value><value name="ADD1"><block type="variables_get" id="VZGIZ9F#r/yd`Yy[iQ=W"><field name="VAR">a</field></block></value></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IG1hdGgKCgpudW0gPSBbMTcsMTksMTUsMjAsMTldCmNjID0gbGVuKG51bSkKYSA9IG51bVswXQppID0gMQp3aGlsZSBpIDwgY2M6CiAgICBpZiBudW1baV0gPiBhOgogICAgICAgIGEgPSBudW1baV0KICAgIGkgPSBpICsgMQpwcmludCgn5pyA5aSn5pWw5Li6JywgYSkK</code>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="R(w+..bO#^[eX4iLdlf^" x="-276" y="-193"><field name="VAR">a</field><value name="VALUE"><block type="inout_type_input" id="?xD~vs+h{BU0|O0my2HZ"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="3b4hG/(1yKd+EAGfX*dM"><field name="TEXT">一共有多少个头:</field></shadow></value></block></value><next><block type="variables_set" id="3C?ek~+}ksUCbib~hL|p"><field name="VAR">b</field><value name="VALUE"><block type="inout_type_input" id=".urRE)FG~kjU7*]yDNMZ"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="*gE``8#;_aZm2vyONNg["><field name="TEXT">一共有多少只脚:</field></shadow></value></block></value><next><block type="variables_set" id="T=4]I+^@G0!XW|v}Df$x"><field name="VAR">c</field><value name="VALUE"><block type="math_arithmetic" id="dOn|1$EX,wI$Y^+K/_Xw"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number" id="NXtm3;_Dsfhm{Drpo)MH"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="I2tM;xAwtnFAde|am2fU"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="kK^xF#9{HVK#9Y_@81Ho"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="t4IRnlOP75yjGW50y;|)"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="oWmvw^J@w0E.K_N@Ky[x"><field name="NUM">1</field></shadow><block type="variables_get" id="ru~!dky~lvkiX13TK_P6"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="sMIw+oK~_A`1F7;vuEI7"><field name="NUM">4</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="C9U;dREUHb1@hwOPOszq"><field name="NUM">1</field></shadow><block type="variables_get" id="KuVITTfD-5?^ExP4(xYA"><field name="VAR">b</field></block></value></block></value><value name="B"><shadow type="math_number" id="PjNqZv3TL}`$5p[xZ;DK"><field name="NUM">2</field></shadow></value></block></value><next><block type="inout_print_many" id=".Noj;poL*3ZlbAzd6wnb"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="QdKak}y2nxCcu-o$}=|;"><field name="TEXT">鸡有:</field></block></value><value name="ADD1"><block type="text_to_number" id="sHV=wH;7.F{!nA|,[=s,"><field name="TOWHAT">int</field><value name="VAR"><shadow type="variables_get" id="T-RuoI_U|i=`-U^-Cb-["><field name="VAR">x</field></shadow><block type="variables_get" id="@2tK=[c9S~_rA?tFz=Qr"><field name="VAR">c</field></block></value></block></value><value name="ADD2"><block type="text" id="u)M7gK7qy^{XOpMeYA!G"><field name="TEXT">只</field></block></value><next><block type="inout_print_many" id="2{=?,+8TN4Ibzn#`zW2i"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="2Y06PUp*2Ht6C[n)$XZ}"><field name="TEXT">兔有:</field></block></value><value name="ADD1"><block type="text_to_number" id="4(vMJx~G*F=ZQ.L$+qRg"><field name="TOWHAT">int</field><value name="VAR"><shadow type="variables_get" id="T-RuoI_U|i=`-U^-Cb-["><field name="VAR">x</field></shadow><block type="math_arithmetic" id="b+PHw+as*=`ik@ph:8Mo"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="oWmvw^J@w0E.K_N@Ky[x"><field name="NUM">1</field></shadow><block type="variables_get" id="K=kSHX.58Nb`N)v@r}+G"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="?nW9)/{jjZlnx1w}I?bv"><field name="NUM">4</field></shadow><block type="variables_get" id="P^mA)$0Bt~fo!0vOwXT^"><field name="VAR">c</field></block></value></block></value></block></value><value name="ADD2"><block type="text" id="_}Do?f/GfJ.pIIss3cSz"><field name="TEXT">只</field></block></value></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>YSA9IGludChpbnB1dCgn5LiA5YWx5pyJ5aSa5bCR5Liq5aS077yaJykpCmIgPSBpbnQoaW5wdXQoJ+S4gOWFseacieWkmuWwkeWPquiEmu+8micpKQpjID0gKGEgKiA0IC0gYikgLyAyCnByaW50KCfpuKHmnInvvJonLCBpbnQoYyksICflj6onKQpwcmludCgn5YWU5pyJ77yaJywgaW50KChhIC0gYykpLCAn5Y+qJykK</code>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="FeJO!Dy)XaIKt^^ZU@6u" x="-607" y="-102"><field name="VAR">a</field><value name="VALUE"><block type="math_number" id="tzebmD6G)d~r6!zOL5yN"><field name="NUM">35</field></block></value><next><block type="variables_set" id="2bo@A/H(U![@k8EYzp0J"><field name="VAR">b</field><value name="VALUE"><block type="math_number" id="[`UuPYFSw!nzdtjI]X]["><field name="NUM">0</field></block></value><next><block type="controls_whileUntil" id="{Ul{qo=^Y}4b;rc1rGe]"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="DX_??^ib}6ca!ZWGeDt("><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="ftWbIO]xI!xzy=1FdUbD"><field name="VAR">c</field><value name="VALUE"><block type="math_arithmetic" id="7;]K+adhsP4_;B:?]=vW"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="U5u8^/cERyr;JCQcKjE@"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="}D+^zN|NmIcD9V=Pg-vR"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="k5clc4Endnr1DsOu9te^"><field name="NUM">1</field></shadow><block type="variables_get" id=":.Sb2d5eH$q_[,WgRN@j"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="9Lt|]Zr5W8(,GVb2RfKi"><field name="NUM">2</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="rjtPurzun,$5KyVQC]J="><field name="NUM">1</field></shadow><block type="math_arithmetic" id="iZ:!,xjeA?-/Y.NO#TQh"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="k5clc4Endnr1DsOu9te^"><field name="NUM">1</field></shadow><block type="variables_get" id="!J`RYL@K9`QdmGkQg4dC"><field name="VAR">b</field></block></value><value name="B"><shadow type="math_number" id="OuaK@8NC.MM)XRWKxaQZ"><field name="NUM">4</field></shadow></value></block></value></block></value><next><block type="controls_if" id="kHyoU~Qu_79J2-+IAj^z"><mutation else="1"></mutation><value name="IF0"><block type="logic_compare" id="IWp}}WN#~3lWDn:(eo9s"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="UmaZYX9Fo3pH!*qGkJ5|"><field name="VAR">c</field></block></value><value name="B"><block type="math_number" id="jn^lSiP8_qS8F4*|c*`y"><field name="NUM">94</field></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="GeJ6z~~Qie|m;LjQT|lq"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="9s6-6O;|+1(1~+lqRmFX"><field name="TEXT">鸡的数量:</field></block></value><value name="ADD1"><block type="variables_get" id="0B*GLD4.us4Bn/R[f}hC"><field name="VAR">a</field></block></value><next><block type="inout_print_many" id="kqDa$mw8[uedADFP!MyK"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="C!|?_-]GT,c7*!mzT:|?"><field name="TEXT">兔的数量:</field></block></value><value name="ADD1"><block type="variables_get" id="Z9T9Q36{5kt=x7H1y[t$"><field name="VAR">b</field></block></value><next><block type="controls_flow_statements" id="/ES$/7enByM@?7BgRBEp"><field name="FLOW">BREAK</field></block></next></block></next></block></statement><statement name="ELSE"><block type="variables_set" id=":o81MdCzs=tX,Y`cJXRY"><field name="VAR">a</field><value name="VALUE"><block type="math_arithmetic" id="OF]!roH4Qr=|DGjv@ZA8"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="f:G`BJFLWcM#WMvGN=+Y"><field name="NUM">1</field></shadow><block type="variables_get" id="Og)fn6$x~*e6,}L8X,+f"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="w~/Zz6:oTZEV89NO#j3?"><field name="NUM">1</field></shadow></value></block></value><next><block type="variables_set" id="5JwK#W.zFHRzAc=!3![R"><field name="VAR">b</field><value name="VALUE"><block type="math_arithmetic" id="?k?qHuzfaJ~UVQb9OI4("><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="f:G`BJFLWcM#WMvGN=+Y"><field name="NUM">1</field></shadow><block type="variables_get" id="V~pN3FSueI^dx6-R.+YD"><field name="VAR">b</field></block></value><value name="B"><shadow type="math_number" id="RQ(/P2beFE29$ww)-EfY"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement></block></next></block></statement></block></next></block></next></block></xml><config>{}</config><code>YSA9IDM1CmIgPSAwCndoaWxlIFRydWU6CiAgICBjID0gYSAqIDIgKyBiICogNAogICAgaWYgYyA9PSA5NDoKICAgICAgICBwcmludCgn6bih55qE5pWw6YeP77yaJywgYSkKICAgICAgICBwcmludCgn5YWU55qE5pWw6YeP77yaJywgYikKICAgICAgICBicmVhawogICAgZWxzZToKICAgICAgICBhID0gYSAtIDEKICAgICAgICBiID0gYiArIDEK</code>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user