add examples

This commit is contained in:
fredqian
2025-04-01 14:35:39 +08:00
parent 224af8abc9
commit b895b5039e
124 changed files with 139 additions and 0 deletions

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 rc4" board="Python 3 Lite@Python 3 Lite"><block type="variables_set" id="Sl?UyzNRb{UJUc!/SSq;" x="-542" y="-122"><field name="VAR">目标数</field><value name="VALUE"><block type="math_number" id="`j{/p{4UXX;[@JTF18JU"><field name="NUM">58</field></block></value><next><block type="controls_whileUntil" id="w#vIb;de{.a}V~x[Dn[M"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="RcC3dS3INSX)JJ{}mB1A"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="BLt}x4zrVxigb]~AwJag"><field name="VAR">n</field><value name="VALUE"><block type="inout_type_input" id="xph57#pTVPoh#tel3CP^"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="F0#zp[l{zXF{l3f)/R56"><field name="TEXT">猜一个整数:</field></shadow></value></block></value><next><block type="controls_if" id="b+F5QD7cSCp9RE3b/S_I"><mutation elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id="ZB~P#)S1;f*Z(e+~|BBR"><field name="OP">LT</field><value name="A"><block type="variables_get" id="K85JIY,T(yZ$p8yj`S+1"><field name="VAR">n</field></block></value><value name="B"><block type="variables_get" id="zawjnF@A6PBaTM0u~GV3"><field name="VAR">目标数</field></block></value></block></value><statement name="DO0"><block type="inout_print_inline" id="rVJHmJWMIy(_r0!;qqy$"><value name="VAR"><shadow type="text" id="A~2^)$cRidZ2D55u+7J{"><field name="TEXT">猜小了!请继续。</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare" id="=.)msv6YhX^(t+Z_nh=O"><field name="OP">GT</field><value name="A"><block type="variables_get" id="*+f4o@K8FWZTHlC,2g+q"><field name="VAR">n</field></block></value><value name="B"><block type="variables_get" id=")PZeh3up~^-!tAz:/cCs"><field name="VAR">目标数</field></block></value></block></value><statement name="DO1"><block type="inout_print_inline" id="NBO6_R@46wo2WW:eh_*#"><value name="VAR"><shadow type="text" id="oUKYteI4Lx/dZ*MX)-yK"><field name="TEXT">猜大了!请继续。</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_print_inline" id="ohHE02!SPHIVf?l3WX+="><value name="VAR"><shadow type="text" id="s|-JmD#a^xbfWY9sR99$"><field name="TEXT">恭喜,猜对了!</field></shadow></value><next><block type="controls_flow_statements" id="YK.G1R4QZa^@,VBN[~{q"><field name="FLOW">BREAK</field></block></next></block></statement></block></next></block></statement></block></next></block></xml><config>{}</config><code>X0U3XzlCX0FFX0U2X0EwXzg3X0U2Xzk1X0IwID0gNTgKd2hpbGUgVHJ1ZToKICAgIG4gPSBpbnQoaW5wdXQoJ+eMnOS4gOS4quaVtOaVsO+8micpKQogICAgaWYgbiA8IF9FN185Ql9BRV9FNl9BMF84N19FNl85NV9CMDoKICAgICAgICBwcmludCgn54yc5bCP5LqG77yB6K+357un57ut44CCJyxlbmQgPSIiKQogICAgZWxpZiBuID4gX0U3XzlCX0FFX0U2X0EwXzg3X0U2Xzk1X0IwOgogICAgICAgIHByaW50KCfnjJzlpKfkuobvvIHor7fnu6fnu63jgIInLGVuZCA9IiIpCiAgICBlbHNlOgogICAgICAgIHByaW50KCfmga3llpzvvIznjJzlr7nkuobvvIEnLGVuZCA9IiIpCiAgICAgICAgYnJlYWsK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="Ke#]#S}$W23~kl5~=b?I" x="100" y="-182"><field name="VAR">year</field><value name="VALUE"><block type="inout_type_input" id="9`;~gq7A_^qPW!79YIu5"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="PF4c9w4-GAWLUl-:~*dR"><field name="TEXT">请输入一个年份:</field></shadow></value></block></value><next><block type="controls_if" id=")BeaRghD.xYstRZ5)]t5"><mutation elseif="1" else="1"></mutation><value name="IF0"><block type="logic_operation" id="l9C.,Ln]{,#+O;FF[V-|"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="kE-iiD]94@/+._62,`RL"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="rO,*6=vROcEjn`]CI~JY"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="Ib{gA?W;xE~iolU3S1xp"><field name="NUM">1</field></shadow><block type="variables_get" id="s)?oitxFaD3EAswhp)gd"><field name="VAR">year</field></block></value><value name="B"><shadow type="math_number" id="A@-@B+d.)/Lpv=xAKt^3"><field name="NUM">4</field></shadow></value></block></value><value name="B"><block type="math_number" id="_+JbOyA[(+xP[bgsju0:"><field name="NUM">0</field></block></value></block></value><value name="B"><block type="logic_compare" id="rswrsuW)[|Ysin-4V-HE"><field name="OP">NEQ</field><value name="A"><block type="math_arithmetic" id=":+x)22Dqc@ja=jpD~A]P"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="O56jL9mG]Gr!}F[yUPq}"><field name="NUM">1</field></shadow><block type="variables_get" id="`6g?-(S3E.IQ3Ib,]pwN"><field name="VAR">year</field></block></value><value name="B"><shadow type="math_number" id="_OX8Y0(EfSh)at_p`?}?"><field name="NUM">4</field></shadow></value></block></value><value name="B"><block type="math_number" id="z`ZBJm+Qxc{m^vS`LJGR"><field name="NUM">100</field></block></value></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="b#2nmzHwjeX;~rbZ6Z!-"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="PS2a$unHIFYHBFm7B/Q3"><field name="VAR">year</field></block></value><value name="ADD1"><block type="text" id="T$Cf`I+Wa6o5r~m)D]@f"><field name="TEXT">这是闰年</field></block></value></block></statement><value name="IF1"><block type="logic_compare" id="OPfEI}J_whm34j__{sgy"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="Bgh[b]#+Z[kV`{TTYK8a"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="_b1OJBp4av?.5dzCYRZ!"><field name="NUM">1</field></shadow><block type="variables_get" id="RMSqtfyhQ!}.g/v!5bZ,"><field name="VAR">year</field></block></value><value name="B"><shadow type="math_number" id="k@9dbso3zY8`8*dQvfR~"><field name="NUM">400</field></shadow></value></block></value><value name="B"><block type="math_number" id="[Xmp;{rOfP{ZD;_,7U9K"><field name="NUM">0</field></block></value></block></value><statement name="DO1"><block type="inout_print_many" id="*1UpKnL0{iD|c@M^dpox"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="gm]X[z;;n77hFig#;{Xf"><field name="VAR">year</field></block></value><value name="ADD1"><block type="text" id="oUCBP5N{bp|dG(ayMZg8"><field name="TEXT">这是闰年</field></block></value></block></statement><statement name="ELSE"><block type="inout_print_many" id="vNi{PgX(1,E`ormJabcf"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="]];V9jQMup^N698wD6{L"><field name="VAR">year</field></block></value><value name="ADD1"><block type="text" id="nb``t~0SWMIc]-.Jd|9L"><field name="TEXT">这是平年</field></block></value></block></statement></block></next></block></xml><config>{}</config><code>eWVhciA9IGludChpbnB1dCgn6K+36L6T5YWl5LiA5Liq5bm05Lu977yaJykpCmlmIHllYXIgJSA0ID09IDAgYW5kIHllYXIgJSA0ICE9IDEwMDoKICAgIHByaW50KHllYXIsICfov5nmmK/pl7DlubQnKQplbGlmIHllYXIgJSA0MDAgPT0gMDoKICAgIHByaW50KHllYXIsICfov5nmmK/pl7DlubQnKQplbHNlOgogICAgcHJpbnQoeWVhciwgJ+i/meaYr+W5s+W5tCcpCg==</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="g7z1R!Nq8/iT@3/,UiFJ" x="-512" y="-172"><field name="VAR">temperature</field><value name="VALUE"><block type="inout_type_input" id="Cr;F;ttS0*MBKk|Fr1jh"><field name="DIR">float</field><value name="VAR"><shadow type="text" id="P7;woXfyLYA?ZKK;zI)C"><field name="TEXT">请输入气温:</field></shadow></value></block></value><next><block type="controls_if" id="I3)(QGxByDMaI?*;QdAC"><mutation elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id="C1TsjIN+_hD,Ht{,(cTS"><field name="OP">LT</field><value name="A"><block type="variables_get" id="]_w*MOV_R]}1811DZLoM"><field name="VAR">temperature</field></block></value><value name="B"><block type="math_number" id="ol`eW*RY?s8#M{8X}8oP"><field name="NUM">15</field></block></value></block></value><statement name="DO0"><block type="inout_print_inline" id="WLl~we3gQ[hfcf(ENSQ("><value name="VAR"><shadow type="text" id="[nhEqZppug/2WLJeh_VA"><field name="TEXT">今天有点冷,要穿厚一些的衣服</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare_continous" id="gXDwEPz-k}xV,=gqY?:#"><field name="OP1">LTE</field><field name="OP2">LTE</field><value name="A"><shadow type="math_number" id="G1)}Nd(?RK.syCuInt!E"><field name="NUM">15</field></shadow></value><value name="B"><shadow type="variables_get" id="eNQz|~*8X8C:$=E$^w6]"><field name="VAR">x</field></shadow><block type="variables_get" id="s!jPQxQj^pKl*u9s+sZ6"><field name="VAR">temperature</field></block></value><value name="C"><shadow type="math_number" id="]Yb4yI$b:J5R@8/ZylER"><field name="NUM">30</field></shadow></value></block></value><statement name="DO1"><block type="inout_print_inline" id="tB)BQOrs:_Hx28J_/0iI"><value name="VAR"><shadow type="text" id=":|T3qVs_X!$RP;!XM{C)"><field name="TEXT">今天有点气候宜人,适合穿春秋装</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_print_inline" id=";DiqvTY`)I{1Z^gj735]"><value name="VAR"><shadow type="text" id="tn|B=J}~??l@8p2`AMYo"><field name="TEXT">今天有点热,要穿薄一些的衣服并适当防晒</field></shadow></value></block></statement></block></next></block></xml><config>{}</config><code>dGVtcGVyYXR1cmUgPSBmbG9hdChpbnB1dCgn6K+36L6T5YWl5rCU5rip77yaJykpCmlmIHRlbXBlcmF0dXJlIDwgMTU6CiAgICBwcmludCgn5LuK5aSp5pyJ54K55Ya377yM6KaB56m/5Y6a5LiA5Lqb55qE6KGj5pyNJyxlbmQgPSIiKQplbGlmIDE1IDw9IHRlbXBlcmF0dXJlIDw9IDMwOgogICAgcHJpbnQoJ+S7iuWkqeacieeCueawlOWAmeWunOS6uu+8jOmAguWQiOepv+aYpeeni+ijhScsZW5kID0iIikKZWxzZToKICAgIHByaW50KCfku4rlpKnmnInngrnng63vvIzopoHnqb/oloTkuIDkupvnmoTooaPmnI3lubbpgILlvZPpmLLmmZInLGVuZCA9IiIpCg==</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="Ke#]#S}$W23~kl5~=b?I" x="-173" y="-122"><field name="VAR">nl</field><value name="VALUE"><block type="inout_type_input" id="9`;~gq7A_^qPW!79YIu5"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="PF4c9w4-GAWLUl-:~*dR"><field name="TEXT">请输入乘车人的年龄:</field></shadow></value></block></value><next><block type="controls_if" id=")BeaRghD.xYstRZ5)]t5"><mutation elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id="o7U/Spr8u#JTOkNq_pts"><field name="OP">GTE</field><value name="A"><block type="variables_get" id="q88GZ!;ya~OV|Yf$sqEu"><field name="VAR">nl</field></block></value><value name="B"><block type="math_number" id="T=piO9Z1`:{jS5IU6h~r"><field name="NUM">14</field></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="b#2nmzHwjeX;~rbZ6Z!-"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="PS2a$unHIFYHBFm7B/Q3"><field name="VAR">nl</field></block></value><value name="ADD1"><block type="text" id="T$Cf`I+Wa6o5r~m)D]@f"><field name="TEXT">岁,请购买全价票</field></block></value></block></statement><value name="IF1"><block type="logic_compare_continous" id="TOwK/}AjESB4PcOYZQaR"><field name="OP1">LTE</field><field name="OP2">LT</field><value name="A"><shadow type="math_number" id="*Z#I)5JcRLR6(N`0b/Ik"><field name="NUM">6</field></shadow></value><value name="B"><shadow type="variables_get" id="HPT]nXrZvoNbzUr4,#Oq"><field name="VAR">x</field></shadow><block type="variables_get" id="xAPS`:.7H#!ha/GcG/b9"><field name="VAR">nl</field></block></value><value name="C"><shadow type="math_number" id="H(anXuPka*v#qMs}l|V("><field name="NUM">14</field></shadow></value></block></value><statement name="DO1"><block type="inout_print_many" id="*1UpKnL0{iD|c@M^dpox"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="gm]X[z;;n77hFig#;{Xf"><field name="VAR">nl</field></block></value><value name="ADD1"><block type="text" id="oUCBP5N{bp|dG(ayMZg8"><field name="TEXT">岁,请购买儿童优惠票</field></block></value></block></statement><statement name="ELSE"><block type="inout_print_many" id="vNi{PgX(1,E`ormJabcf"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get" id="]];V9jQMup^N698wD6{L"><field name="VAR">nl</field></block></value><value name="ADD1"><block type="text" id="nb``t~0SWMIc]-.Jd|9L"><field name="TEXT">岁,由持票成年人免费携带</field></block></value></block></statement></block></next></block></xml><config>{}</config><code>bmwgPSBpbnQoaW5wdXQoJ+ivt+i+k+WFpeS5mOi9puS6uueahOW5tOm+hO+8micpKQppZiBubCA+PSAxNDoKICAgIHByaW50KG5sLCAn5bKB77yM6K+36LSt5Lmw5YWo5Lu356WoJykKZWxpZiA2IDw9IG5sIDwgMTQ6CiAgICBwcmludChubCwgJ+Wyge+8jOivt+i0reS5sOWEv+erpeS8mOaDoOelqCcpCmVsc2U6CiAgICBwcmludChubCwgJ+Wyge+8jOeUseaMgeelqOaIkOW5tOS6uuWFjei0ueaQuuW4picpCg==</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="-t];^({.=3f)Ik*[EgH;" x="-530" y="-301"><field name="VAR">c</field><value name="VALUE"><block type="math_number" id=",Q}/PSb]mz167Xc=Uu2,"><field name="NUM">1</field></block></value><next><block type="controls_whileUntil" id="p1FDu*y=WO,`]2KXHo|3"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="Bbi^cAYZRmJ_S,-!Y1G7"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="?O,74gRFRTulCT`N#es}"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="x[uQ$][TB-!=gxR}{0|K"><field name="VAR">c</field></block></value><value name="B"><block type="math_number" id="rQbe|{*mm-e)oCFr~Dbx"><field name="NUM">100</field></block></value></block></value><statement name="DO"><block type="inout_print_inline" id="wXh}R{T5?fO-:Zm~$!^k"><value name="VAR"><shadow type="text" id="idT+T:fTT$@C+8$UHof,"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="Tus*N3V~$E/=(/qI`srv"><field name="VAR">c</field></block></value><next><block type="math_selfcalcu" id="ykIQ*|2Bw0pu~Qg20iPr"><field name="OP">ADD</field><value name="A"><shadow type="variables_get" id="JPc|3=dIm5M](,oQvaH;"><field name="VAR">a</field></shadow><block type="variables_get" id="Qg:?8#k9,A`4:f.(Vzo|"><field name="VAR">c</field></block></value><value name="B"><shadow type="math_number" id="H}]|CPCmic5?{0gl!ec#"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></xml><config>{}</config><code>YyA9IDEKd2hpbGUgYyA8PSAxMDA6CiAgICBwcmludChjLGVuZCA9IiIpCiAgICBjICs9IDEK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="vKfP[Xf?yO)4Z|ZL:U`s" x="-562" y="-236"><field name="VAR">start</field><value name="VALUE"><block type="controls_millis" id="J=T5}wLYX2[A|L3KSPFA"></block></value><next><block type="variables_set" id="whvqQV#9ra^1a0z-XUjO"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="F]_e4dy50,q,g(d51Ysj"><field name="NUM">0</field></block></value><next><block type="do_while" id="l0@R@=43;#bTKI`#oS+l"><field name="type">true</field><statement name="input_data"><block type="variables_set" id="CySa0$uyGheoUiG6h_UQ"><field name="VAR">i</field><value name="VALUE"><block type="math_arithmetic" id="znl_l74cjxp?2$5S*Vp4"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="]:[?C~JbbV];H2zxW:.@"><field name="NUM">1</field></shadow><block type="variables_get" id="VW=P9qCU9RMRPQYD|;0|"><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id=".^te,tm7?Rd+p7|$uAH!"><field name="NUM">1</field></shadow></value></block></value></block></statement><value name="select_data"><block type="logic_compare" id="rga4wpK8He3q=4+dw}}I"><field name="OP">GTE</field><value name="A"><block type="math_arithmetic" id="/ydlk:=wQcd_y-57Q:/@"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="jiWD8-HP9sL^SZ0Em-a3"><field name="NUM">1</field></shadow><block type="controls_millis" id="Po7|Vj/rV5C:Bbgw.:05"></block></value><value name="B"><shadow type="math_number" id="y`o~`@C)VLcmRT0-#kF*"><field name="NUM">1</field></shadow><block type="variables_get" id="C|GP=iAQL?oy:U+$JiX-"><field name="VAR">start</field></block></value></block></value><value name="B"><block type="math_number" id="|0-Kx7eozpm@i36=KT+6"><field name="NUM">1</field></block></value></block></value><next><block type="variables_set" id="yZAO3:?gl5oAj7^`d?IC"><field name="VAR">end</field><value name="VALUE"><block type="controls_millis" id="r2kznk;sVE:]0ez$JB!?"></block></value><next><block type="inout_print_many" id="Z,)QJ^Y$OaNtnYpJabS?"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="mML4-MEl:Ng|`r?a];y_"><field name="TEXT">开始时间</field></block></value><value name="ADD1"><block type="datetime_fromtimestamp" id="g|s$iQw`[J!Zizz$AgG+"><value name="VAR"><shadow type="math_number" id="k?hA]@d5)!Hj}+G+BtYC"><field name="NUM">18029</field></shadow><block type="variables_get" id="E(fu;6DM8h?zOE;_j8:`"><field name="VAR">start</field></block></value></block></value><next><block type="inout_print_many" id="Q/J,[NeamO8.=*8^;gN8"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="p.HGXFd=x1m!gf(_$=(x"><field name="TEXT">开始时间</field></block></value><value name="ADD1"><block type="datetime_fromtimestamp" id="-q;$4!MV~Q/_AlC{P~@1"><value name="VAR"><shadow type="math_number" id="k?hA]@d5)!Hj}+G+BtYC"><field name="NUM">18029</field></shadow><block type="variables_get" id="e[,sD57yF(SzXo+8|,xU"><field name="VAR">end</field></block></value></block></value><next><block type="inout_print_many" id="J9Uh70G-;C0KQw1gp|)Y"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="9y}pSf|bBN5E2^^rgp]{"><field name="TEXT">经历时间</field></block></value><value name="ADD1"><block type="math_arithmetic" id="1x@=Mj~`2_AzeYWVVT5J"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="(pcrnL*EM@xpppEtJEm+"><field name="NUM">1</field></shadow><block type="variables_get" id="[@uW~ku;nlv9ER:58nVQ"><field name="VAR">end</field></block></value><value name="B"><shadow type="math_number" id="O*;([g9nnh*pYxsRxk-1"><field name="NUM">1</field></shadow><block type="variables_get" id="kgPuEmmMPjZ4I6N:0hH{"><field name="VAR">start</field></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IHRpbWUKaW1wb3J0IGRhdGF0aW1lCgoKc3RhcnQgPSB0aW1lLnRpbWUoKQppID0gMAp3aGlsZSBUcnVlOgogICAgaSA9IGkgKyAxCiAgICBpZiAodGltZS50aW1lKCkgLSBzdGFydCA+PSAxKToKICAgICAgICBicmVhawplbmQgPSB0aW1lLnRpbWUoKQpwcmludCgn5byA5aeL5pe26Ze0JywgZGF0YXRpbWUuZGF0YXRpbWUuZnJvbXRpbWVzdGFtcChzdGFydCkpCnByaW50KCflvIDlp4vml7bpl7QnLCBkYXRhdGltZS5kYXRhdGltZS5mcm9tdGltZXN0YW1wKGVuZCkpCnByaW50KCfnu4/ljobml7bpl7QnLCBlbmQgLSBzdGFydCkK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="ZD:cn5tyAx/FJSOCSAXF" x="-41" y="-326"><field name="VAR">n</field><value name="VALUE"><block type="inout_type_input" id="b{d9|Rl^qW{sIjJJan:/"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="C];T^s}!NOFG3sQn4T-B"><field name="TEXT">请输入自然数n</field></shadow></value></block></value><next><block type="variables_set" id="~z[Tm5X2#^4r}GkpZ2F9"><field name="VAR">c</field><value name="VALUE"><block type="math_number" id=")P2*jN,w7]w_b-0qN(B$"><field name="NUM">2</field></block></value><next><block type="controls_whileUntil" id=")#!]KFr/er(B:qP.]SJD"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="wY#Mcht!2,n})[Tj!V~#"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="F$7v!P,?[l2p:K)vTN06"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="A6=WO:R|7+/J-!(!YL,3"><field name="VAR">c</field></block></value><value name="B"><block type="variables_get" id="?,8E`]DTP|z]$/tZWyiR"><field name="VAR">n</field></block></value></block></value><statement name="DO"><block type="inout_print_inline" id="vm7~~_kk(Ma*YgMN^hs]"><value name="VAR"><shadow type="text" id=",wk$h;OisQK9|~CFgb3`"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="tpa0Q?fQ?fY@ZX0/9]6j"><field name="VAR">c</field></block></value><next><block type="math_selfcalcu" id="9gp-wEVUd~o5(]|??KRU"><field name="OP">ADD</field><value name="A"><shadow type="variables_get" id="#+|!u!y8?*t6rm^Ba=t$"><field name="VAR">a</field></shadow><block type="variables_get" id="Mf:(yW)Ep!=D35~xoN4q"><field name="VAR">c</field></block></value><value name="B"><shadow type="math_number" id=",}fX[P9Ut]4GEyr7,Xk5"><field name="NUM">2</field></shadow></value></block></next></block></statement></block></next></block></next></block></xml><config>{}</config><code>biA9IGludChpbnB1dCgn6K+36L6T5YWl6Ieq54S25pWwbu+8micpKQpjID0gMgp3aGlsZSBjIDw9IG46CiAgICBwcmludChjLGVuZCA9IiIpCiAgICBjICs9IDIK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="jNn,ThRu7k5{KK5X1L87" x="-524" y="-40"><field name="VAR">n</field><value name="VALUE"><block type="inout_type_input" id="S)onN|bS]+_p_+3h0GH$"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="MRpR)vu0*1y*l*E[r`5F"><field name="TEXT">请输入自然数n</field></shadow></value></block></value><next><block type="variables_set" id="Q}R7?l*7f+;F7L(Y[[r_"><field name="VAR">c</field><value name="VALUE"><block type="math_number" id="AJ:a2Y#Wg}(.g;zt5w4A"><field name="NUM">1</field></block></value><next><block type="controls_whileUntil" id="]]liCYc1pO!U5=g4LGQk"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="T:/o`0jqbN?92{7;=i(2"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="tykJ[n|{y_6b@Yb8?wl;"><field name="OP">LTE</field><value name="A"><block type="variables_get" id=":9nF.HR$+!w)]T?EtQ(_"><field name="VAR">c</field></block></value><value name="B"><block type="variables_get" id="w$~m7iJQ}Pes/7S26}Qb"><field name="VAR">n</field></block></value></block></value><statement name="DO"><block type="controls_if" id="~H;C{c}m[29JdR3Zfc[|"><value name="IF0"><block type="logic_compare" id="?kUfeh8D{t^K4O}HY|~]"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="0LZnXAIwt)h5cFIH8eXJ"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="=]AFkeQA1^]LTwD+XQ8T"><field name="NUM">1</field></shadow><block type="variables_get" id="z{0YPn~~uI^Ak9Yq3S/)"><field name="VAR">c</field></block></value><value name="B"><shadow type="math_number" id="QjUjm9Qy,cZ0nFbz6[_x"><field name="NUM">5</field></shadow></value></block></value><value name="B"><block type="math_number" id="+4,S_MG1/Nd1EgMKgG8j"><field name="NUM">0</field></block></value></block></value><statement name="DO0"><block type="inout_print_inline" id="([DK7)13#UU:tq/bbT+}"><value name="VAR"><shadow type="text" id="ln_],]2v8,GS@.adn^B!"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="$ROBV:{?Uiw4U7:9wf-*"><field name="VAR">c</field></block></value></block></statement><next><block type="math_selfcalcu" id="yAi]qsIkxs74@8mP+yES"><field name="OP">ADD</field><value name="A"><shadow type="variables_get" id="YKKKVY(TDKZhsFpZ*Xdd"><field name="VAR">a</field></shadow><block type="variables_get" id="4|H2304iH@hZI]8FIKF:"><field name="VAR">c</field></block></value><value name="B"><shadow type="math_number" id="]b}lRRxlp=^zVC?l({$E"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></next></block></xml><config>{}</config><code>biA9IGludChpbnB1dCgn6K+36L6T5YWl6Ieq54S25pWwbu+8micpKQpjID0gMQp3aGlsZSBjIDw9IG46CiAgICBpZiBjICUgNSA9PSAwOgogICAgICAgIHByaW50KGMsZW5kID0iIikKICAgIGMgKz0gMQo=</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="controls_forEach" id="r.9J`o`J/[yXRB,[wgIQ" x="-874" y="-225"><value name="LIST"><shadow type="list_many_input" id="A$_Rded`ysuY(SIphBbC"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="sCdF)X:cZw9WVO7C:jS6"><value name="FROM"><shadow type="math_number" id="n:-!GV,D/LAy-Mz:un=-"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id=")=Ly=XE1NQGDa9)3x]g]"><field name="NUM">10</field></shadow></value><value name="STEP"><shadow type="math_number" id="gce9JM9rk,8qXF0Z;KjP"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="|3=?HKY~W]ekVQ-4-e`3"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="controls_forEach" id="VYt_@KrHV#SDL!LZ^O/?"><value name="LIST"><shadow type="list_many_input" id="A$_Rded`ysuY(SIphBbC"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="8}HE=05FO8P)aE*u!)O0"><value name="FROM"><shadow type="math_number" id="ZS7F,pbRRD0:hcz}[b+Y"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="K?!)fovbzQ@xb-?Y4=lg"><field name="NUM">10</field></shadow></value><value name="STEP"><shadow type="math_number" id="xL_b[-KBzUo=`Vq#:l7H"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="yl4*|.:Np78+gk=Q9@bt"><field name="VAR">j</field></shadow></value><statement name="DO"><block type="inout_print_many" id="5w)pT00@I{:O!,C(]V:O"><mutation items="3"></mutation><value name="ADD0"><block type="variables_get" id="mkj[9r5QjUuV|j1MW1|K"><field name="VAR">i</field></block></value><value name="ADD1"><block type="text" id="-Ox,_wy9G]H4f/3^rlEX"><field name="TEXT">3</field></block></value><value name="ADD2"><block type="variables_get" id="S.1mO)b4jSH]67C+j$r!"><field name="VAR">j</field></block></value></block></statement></block></statement></block></xml><config>{}</config><code>Zm9yIGkgaW4gcmFuZ2UoMCwgMTAsIDEpOgogICAgZm9yIGogaW4gcmFuZ2UoMCwgMTAsIDEpOgogICAgICAgIHByaW50KGksICczJywgaikK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="+*u7t+S_9LTY_fQCKC-u" x="-16" y="-204"><field name="VAR">box</field><value name="VALUE"><block type="list_many_input" id="TpX3V?[L0znfxwhxPZf~"><field name="CONTENT">24,91,42,108,35</field></block></value><next><block type="variables_set" id="p4$GdPwiK6b#jk:Gteu{"><field name="VAR">cc</field><value name="VALUE"><block type="list_trig" id="Hb[`^:yKOJ0U^Qd:op@x"><field name="OP">LEN</field><value name="data"><shadow type="variables_get" id="iPVl`a2(vgRV_7zlrX3g"><field name="VAR">mylist</field></shadow><block type="variables_get" id="qY}X9A1_XjQDX:QWzw1Q"><field name="VAR">box</field></block></value></block></value><next><block type="variables_set" id="V[!JrCG{cTXIav8DeWk~"><field name="VAR">a</field><value name="VALUE"><block type="lists_get_index" id=";auZ0p]mHV(;U./k|0{Z"><value name="LIST"><shadow type="variables_get" id="p9Uv:|htNFfO]l8ty_;?"><field name="VAR">mylist</field></shadow><block type="variables_get" id="9evFz{y(cGb7AwKb7mho"><field name="VAR">box</field></block></value><value name="AT"><shadow type="math_number" id="wMkRU(e;UX1S/u7]A`(2"><field name="NUM">0</field></shadow></value></block></value><next><block type="variables_set" id="Az^:oz2x6wmmjaM~_w0."><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="#ovmeWV~Z@hrLvtZd;ZL"><field name="NUM">1</field></block></value><next><block type="controls_whileUntil" id=";x`VeA][2s^!Ns{|J|*e"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="+TUX}a:a^i}sqdeA)8Y,"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="sRG/][Kep^v~K$C!$-sa"><field name="OP">LT</field><value name="A"><block type="variables_get" id="1(DUfBs6l)Ip6~JL:xim"><field name="VAR">i</field></block></value><value name="B"><block type="variables_get" id="vWR!w]`W4D`akUTisRf`"><field name="VAR">cc</field></block></value></block></value><statement name="DO"><block type="controls_if" id="~wWl)Y$TMLf|+C8Cu$Fc"><value name="IF0"><block type="logic_compare" id="sKOE09n$Pw}~h=x+qh4*"><field name="OP">GT</field><value name="A"><block type="lists_get_index" id="PQXd65oiw@xV[L4-;rP="><value name="LIST"><shadow type="variables_get" id="zDu;dHQ_BLe-eI;Knu8o"><field name="VAR">mylist</field></shadow><block type="variables_get" id="j|2HDvVD^P+]*ns{j|NT"><field name="VAR">box</field></block></value><value name="AT"><shadow type="math_number" id=":}FL:u.M8I;0.W,/FGdi"><field name="NUM">i</field></shadow></value></block></value><value name="B"><block type="variables_get" id="M_YN58r(V)J0r;gQ@}W_"><field name="VAR">a</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="q=v3PQn^]VrNhMF]c0iQ"><field name="VAR">a</field><value name="VALUE"><block type="lists_get_index" id="sNNQ^}tRA-Wo+_Sf)_|E"><value name="LIST"><shadow type="variables_get" id="3CKZj?m^ifyZQEn*WtC3"><field name="VAR">mylist</field></shadow><block type="variables_get" id="s~Wt}c#1#5gnqKE[^Cc$"><field name="VAR">box</field></block></value><value name="AT"><shadow type="math_number" id="o_WVKWg_-^c64t`4$iMN"><field name="NUM">i</field></shadow></value></block></value></block></statement><next><block type="math_selfcalcu" id="Ub64g=46RR0;Eoj^F[Z,"><field name="OP">ADD</field><value name="A"><shadow type="variables_get" id="P?dQtg8L-P467;lzGEae"><field name="VAR">a</field></shadow><block type="variables_get" id="c*s|;P6K;ASq0+?)O.I="><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id="nYB*Wq*O~8YPyRtVA]s@"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="inout_print_many" id="l6QAqy#[8l0[i|04}z~j"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="*:3UAf*z*r53^X9(uHCg"><field name="TEXT">最大数为:</field></block></value><value name="ADD1"><block type="variables_get" id="4NwSru15X$2*!z{AIah."><field name="VAR">a</field></block></value></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IG1hdGgKCgpib3ggPSBbMjQsOTEsNDIsMTA4LDM1XQpjYyA9IGxlbihib3gpCmEgPSBib3hbMF0KaSA9IDEKd2hpbGUgaSA8IGNjOgogICAgaWYgYm94W2ldID4gYToKICAgICAgICBhID0gYm94W2ldCiAgICBpICs9IDEKcHJpbnQoJ+acgOWkp+aVsOS4uu+8micsIGEpCg==</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="+*u7t+S_9LTY_fQCKC-u" x="-16" y="-204"><field name="VAR">box</field><value name="VALUE"><block type="list_many_input" id="TpX3V?[L0znfxwhxPZf~"><field name="CONTENT">24,91,42,108,35</field></block></value><next><block type="variables_set" id="p4$GdPwiK6b#jk:Gteu{"><field name="VAR">cc</field><value name="VALUE"><block type="list_trig" id="Hb[`^:yKOJ0U^Qd:op@x"><field name="OP">LEN</field><value name="data"><shadow type="variables_get" id="iPVl`a2(vgRV_7zlrX3g"><field name="VAR">mylist</field></shadow><block type="variables_get" id="qY}X9A1_XjQDX:QWzw1Q"><field name="VAR">box</field></block></value></block></value><next><block type="variables_set" id="V[!JrCG{cTXIav8DeWk~"><field name="VAR">a</field><value name="VALUE"><block type="lists_get_index" id=";auZ0p]mHV(;U./k|0{Z"><value name="LIST"><shadow type="variables_get" id="p9Uv:|htNFfO]l8ty_;?"><field name="VAR">mylist</field></shadow><block type="variables_get" id="9evFz{y(cGb7AwKb7mho"><field name="VAR">box</field></block></value><value name="AT"><shadow type="math_number" id="wMkRU(e;UX1S/u7]A`(2"><field name="NUM">0</field></shadow></value></block></value><next><block type="variables_set" id="Az^:oz2x6wmmjaM~_w0."><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="#ovmeWV~Z@hrLvtZd;ZL"><field name="NUM">1</field></block></value><next><block type="controls_whileUntil" id=";x`VeA][2s^!Ns{|J|*e"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="+TUX}a:a^i}sqdeA)8Y,"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="sRG/][Kep^v~K$C!$-sa"><field name="OP">GT</field><value name="A"><block type="variables_get" id="1(DUfBs6l)Ip6~JL:xim"><field name="VAR">i</field></block></value><value name="B"><block type="variables_get" id="vWR!w]`W4D`akUTisRf`"><field name="VAR">cc</field></block></value></block></value><statement name="DO"><block type="controls_if" id="~wWl)Y$TMLf|+C8Cu$Fc"><value name="IF0"><block type="logic_compare" id="sKOE09n$Pw}~h=x+qh4*"><field name="OP">GT</field><value name="A"><block type="lists_get_index" id="PQXd65oiw@xV[L4-;rP="><value name="LIST"><shadow type="variables_get" id="zDu;dHQ_BLe-eI;Knu8o"><field name="VAR">mylist</field></shadow><block type="variables_get" id="j|2HDvVD^P+]*ns{j|NT"><field name="VAR">box</field></block></value><value name="AT"><shadow type="math_number" id=":}FL:u.M8I;0.W,/FGdi"><field name="NUM">i</field></shadow></value></block></value><value name="B"><block type="variables_get" id="M_YN58r(V)J0r;gQ@}W_"><field name="VAR">a</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="q=v3PQn^]VrNhMF]c0iQ"><field name="VAR">a</field><value name="VALUE"><block type="lists_get_index" id="sNNQ^}tRA-Wo+_Sf)_|E"><value name="LIST"><shadow type="variables_get" id="3CKZj?m^ifyZQEn*WtC3"><field name="VAR">mylist</field></shadow><block type="variables_get" id="s~Wt}c#1#5gnqKE[^Cc$"><field name="VAR">box</field></block></value><value name="AT"><shadow type="math_number" id="o_WVKWg_-^c64t`4$iMN"><field name="NUM">i</field></shadow></value></block></value></block></statement><next><block type="math_selfcalcu" id="Ub64g=46RR0;Eoj^F[Z,"><field name="OP">ADD</field><value name="A"><shadow type="variables_get" id="P?dQtg8L-P467;lzGEae"><field name="VAR">a</field></shadow><block type="variables_get" id="c*s|;P6K;ASq0+?)O.I="><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id="nYB*Wq*O~8YPyRtVA]s@"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="inout_print_many" id="l6QAqy#[8l0[i|04}z~j"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="*:3UAf*z*r53^X9(uHCg"><field name="TEXT">最小数为:</field></block></value><value name="ADD1"><block type="variables_get" id="4NwSru15X$2*!z{AIah."><field name="VAR">a</field></block></value></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IG1hdGgKCgpib3ggPSBbMjQsOTEsNDIsMTA4LDM1XQpjYyA9IGxlbihib3gpCmEgPSBib3hbMF0KaSA9IDEKd2hpbGUgaSA+IGNjOgogICAgaWYgYm94W2ldID4gYToKICAgICAgICBhID0gYm94W2ldCiAgICBpICs9IDEKcHJpbnQoJ+acgOWwj+aVsOS4uu+8micsIGEpCg==</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="kT+^l=0~8OSPmB5qkeFl" x="-713" y="-474"><field name="VAR">data</field><value name="VALUE"><block type="list_many_input" id="QY*BSDmlrKCuig)?2rzn"><field name="CONTENT">64,25,12,22,11,90,88,77,55,33</field></block></value><next><block type="variables_set" id="z$cm;$RzsO9#JLv,WQ5^"><field name="VAR">data</field><value name="VALUE"><block type="lists_sort" id="CiTi23X`e}`g_F{kx#K4"><field name="TYPE">NUMERIC</field><field name="DIRECTION">1</field><value name="LIST"><shadow type="variables_get" id="|YO!lwN*)Q[2dIg4?QmD"><field name="VAR">data</field></shadow></value></block></value><next><block type="inout_print_inline" id="yXKyCdwm=3PP4?SR.731"><value name="VAR"><shadow type="text" id="Zo5fghuYoC*Ui,W@(sbZ"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="]_3OKMq*vJ?aj}*zs^2o"><field name="VAR">data</field></block></value></block></next></block></next></block></xml><config>{}</config><code>ZnJvbSBtaXhweSBpbXBvcnQgbGlzdHNfc29ydAoKCmRhdGEgPSBbNjQsMjUsMTIsMjIsMTEsOTAsODgsNzcsNTUsMzNdCmRhdGEgPSBsaXN0c19zb3J0KGRhdGEsICJOVU1FUklDIiwgRmFsc2UpCnByaW50KGRhdGEsZW5kID0iIikK</code>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 rc4" board="Python 3 Lite@Python 3 Lite"><block type="variables_set" id="[V-Ayb!e|t9w:_|k)Aw+" x="-339" y="-254"><field name="VAR">a</field><value name="VALUE"><block type="math_number" id="T5*9VlNzOy{r.vGVXMV]"><field name="NUM">35</field></block></value><next><block type="variables_set" id="rz#e3EZqn`)S|CWaT]G*"><field name="VAR">b</field><value name="VALUE"><block type="math_number" id="I|FLy0J~T;9@@zTE{s42"><field name="NUM">0</field></block></value><next><block type="controls_whileUntil" id="FpM+3Dbf0{wK0~W./*eZ"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="MkhLVY4G:m5Ki:Hr.PL="><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="WQ:.nEUj|Q?~(Q=QDldw"><field name="VAR">c</field><value name="VALUE"><block type="math_arithmetic" id="#9{CT`oyqTX@SfW)1s4D"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="}8:(oEQ:S#zGqUTkKCmA"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="~wWddz]#dQZbeRWOGjc."><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="7yNLgQjoAwsNIY=q-7WI"><field name="NUM">1</field></shadow><block type="variables_get" id=";L@GVFcW{dAg^]zx+O#Y"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="=nNVF.P;vd~SmK8c{lK]"><field name="NUM">2</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="3^RS*Y/)8{$eXONECX~4"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="!Jo=[#@{mG_qtE]]=Q=w"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="7yNLgQjoAwsNIY=q-7WI"><field name="NUM">1</field></shadow><block type="variables_get" id="e2#R+jKsCx+GV96)be*S"><field name="VAR">b</field></block></value><value name="B"><shadow type="math_number" id="]S(3?Gf;:L88*2CGr@v{"><field name="NUM">4</field></shadow></value></block></value></block></value><next><block type="controls_if" id="t`*-2W*0{aG*sP8}-+;:"><mutation else="1"></mutation><value name="IF0"><block type="logic_compare" id="YfW(@$Cjtv*ZIk$-y|j["><field name="OP">EQ</field><value name="A"><block type="variables_get" id="#T@t!jBR|iQqdC_hs:Fl"><field name="VAR">c</field></block></value><value name="B"><block type="math_number" id="YNPqmlE)Fpp-*c:RX66/"><field name="NUM">94</field></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="-+5TZb)O]5p73BXkB@QD"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="Ss:_{QLY!xrWrJ[aI4Lm"><field name="TEXT">鸡的数量:</field></block></value><value name="ADD1"><block type="variables_get" id="mCkk)W+LG=BQ:nB)NPok"><field name="VAR">a</field></block></value><next><block type="inout_print_many" id="whc*90l;SLoURkY8[[no"><mutation items="2"></mutation><value name="ADD0"><block type="text" id=",N#:mvF#7?c!lZR|(nL4"><field name="TEXT">兔的数量:</field></block></value><value name="ADD1"><block type="variables_get" id="ouOp!{qPtQ6},TL(cIw6"><field name="VAR">b</field></block></value><next><block type="controls_flow_statements" id="_[D.aF~j6R$akz06MM5D"><field name="FLOW">BREAK</field></block></next></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="fYze4Yjub|_]PN)Hr;-w"><field name="VAR">a</field><value name="VALUE"><block type="math_arithmetic" id="a|yK-[qSD,),^qsWQZ!F"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="u.cOoRO61J:n^7pxHw(C"><field name="NUM">1</field></shadow><block type="variables_get" id="bEQ`gF|ecYSiIf|`]@+~"><field name="VAR">a</field></block></value><value name="B"><shadow type="math_number" id="#d4}T[w.fg:q#!H6Y/`G"><field name="NUM">1</field></shadow></value></block></value><next><block type="variables_set" id="-:aYFPoYdVv:zd3I(.;~"><field name="VAR">b</field><value name="VALUE"><block type="math_arithmetic" id="bm}kxdwp0X$_62#OZL68"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="u.cOoRO61J:n^7pxHw(C"><field name="NUM">1</field></shadow><block type="variables_get" id="+j$9_k:RVH39y7=~qtfT"><field name="VAR">b</field></block></value><value name="B"><shadow type="math_number" id="UR-{=cy(pzN(+*ddvT*_"><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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="AuO{AXL7913gyl0rp#fi" x="-393" y="-800"><field name="VAR">a</field><value name="VALUE"><block type="inout_type_input" id="vT7{^.C|b*~32N$r2oVu"><field name="DIR">float</field><value name="VAR"><shadow type="text" id="Z;.0nfjKlyE|Cc#cas[D"><field name="TEXT">输入苹果的质量:</field></shadow></value></block></value><next><block type="variables_set" id="3M9^k=.H0EURn9@SLcGR"><field name="VAR">b</field><value name="VALUE"><block type="inout_type_input" id="F#giu9jqA(zuut4~iy-J"><field name="DIR">float</field><value name="VAR"><shadow type="text" id="H/.@)VLAb/}t+1l:BluH"><field name="TEXT">输入香蕉的质量:</field></shadow></value></block></value><next><block type="variables_set" id="dERmTfOt=w!uY`=@w]U."><field name="VAR">c</field><value name="VALUE"><block type="math_arithmetic" id="+|_cGU9TulLwsmCR-h`k"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="Aw?#=chjynG)X+^#JFPg"><field name="NUM">a</field></shadow></value><value name="B"><shadow type="math_number" id="za)A|IJMZj#n43f=4#./"><field name="NUM">8.5</field></shadow></value></block></value><next><block type="variables_set" id="!.x-=v6a[BB1W9-7]Xdw"><field name="VAR">d</field><value name="VALUE"><block type="math_arithmetic" id="5{t6|m(GlkR!2L.w1n0C"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="Y4W;hGQjiao`0Xi+(@Nq"><field name="NUM">b</field></shadow></value><value name="B"><shadow type="math_number" id="xQz2JoEjah@1g2a:PQ+8"><field name="NUM">12.5</field></shadow></value></block></value><next><block type="variables_set" id="PVa4cXyQVfqYVp_`ja7b"><field name="VAR">e</field><value name="VALUE"><block type="math_arithmetic" id="YKsK+@@f4~eJE*BiKPpS"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="EFg0ehzOK:XZgIZh61U7"><field name="NUM">c</field></shadow></value><value name="B"><shadow type="math_number" id="21vgysDG!?`3f0,HgcdY"><field name="NUM">d</field></shadow></value></block></value><next><block type="inout_print_many" id="1t~|20kZbs.arHPt930C"><mutation items="2"></mutation><value name="ADD0"><block type="text" id=",5f{.w3u2#Nh:Xgje=;7"><field name="TEXT">总金额:</field></block></value><value name="ADD1"><block type="variables_get" id="=E_9H7[Q3hl,2N*5bvr0"><field name="VAR">e</field></block></value></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>YSA9IGZsb2F0KGlucHV0KCfovpPlhaXoi7nmnpznmoTotKjph4/vvJonKSkKYiA9IGZsb2F0KGlucHV0KCfovpPlhaXpppnolYnnmoTotKjph4/vvJonKSkKYyA9IGEgKiA4LjUKZCA9IGIgKiAxMi41CmUgPSBjICsgZApwcmludCgn5oC76YeR6aKd77yaJywgZSkK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="azd6w?k6OWnC^l99lF^:" x="-772" y="-486"><field name="VAR">height</field><value name="VALUE"><block type="inout_type_input" id="!mE90;po$_!Y{cP$dqi]"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="VP}2J3OU26_q`.K75{Dx"><field name="TEXT">请输入身高(厘米):</field></shadow></value></block></value><next><block type="controls_if" id=".F2-Hg/Q,X!^}zHtrH=c"><mutation else="1"></mutation><value name="IF0"><block type="logic_compare" id="}@4!dpO]U.`N]ItI(j`9"><field name="OP">LT</field><value name="A"><block type="variables_get" id="1ybuq$c7v]no9l[CiAce"><field name="VAR">height</field></block></value><value name="B"><block type="math_number" id="wzyq*E2090Hp[gEN`,E1"><field name="NUM">120</field></block></value></block></value><statement name="DO0"><block type="inout_print_many" id="`^JddDn)=I[7VCJZ!$bh"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="+n/^L3mdIpL;/o*L-Am0"><field name="TEXT">身高为</field></block></value><value name="ADD1"><block type="variables_get" id="s)V[#B36jaT!I*h{3f$m"><field name="VAR">height</field></block></value><value name="ADD2"><block type="text" id="sea^=|,}LYmewNPM5!#."><field name="TEXT">厘米可以购买半价票5元</field></block></value></block></statement><statement name="ELSE"><block type="inout_print_many" id="1pwVY2kR*sd]~]R}ON|M"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="OS,bjkFx!0i5:dz}o(tp"><field name="TEXT">身高为</field></block></value><value name="ADD1"><block type="variables_get" id="Oxx6pRch).I{IE^e2k}E"><field name="VAR">height</field></block></value><value name="ADD2"><block type="text" id="2CT8$s6]1qzJJ$K#cb`8"><field name="TEXT">厘米可以购买全价票10元</field></block></value></block></statement></block></next></block></xml><config>{}</config><code>aGVpZ2h0ID0gaW50KGlucHV0KCfor7fovpPlhaXouqvpq5jvvIjljpjnsbPvvInvvJonKSkKaWYgaGVpZ2h0IDwgMTIwOgogICAgcHJpbnQoJ+i6q+mrmOS4uicsIGhlaWdodCwgJ+WOmOexs++8jOWPr+S7pei0reS5sOWNiuS7t+elqO+8jDXlhYMnKQplbHNlOgogICAgcHJpbnQoJ+i6q+mrmOS4uicsIGhlaWdodCwgJ+WOmOexs++8jOWPr+S7pei0reS5sOWFqOS7t+elqO+8jDEw5YWDJykK</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="!=OT!t*`eRVHn?!8PRB1" x="-658" y="-448"><field name="VAR">a</field><value name="VALUE"><block type="inout_type_input" id="yl@@o}AV:deZ.3Ii~cAV"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="V{w}5EfVU4}Q]13;NP^!"><field name="TEXT">输入自然数a:</field></shadow></value></block></value><next><block type="variables_set" id=";L0fI?H/7_@1Xx1Dy3e2"><field name="VAR">b</field><value name="VALUE"><block type="inout_type_input" id="L.e.WwKw1MY*3{3Zxa5N"><field name="DIR">int</field><value name="VAR"><shadow type="text" id="SYRZ(Nz]gF7+v{`;bI9y"><field name="TEXT">输入自然数b:</field></shadow></value></block></value><next><block type="controls_if" id="#qIOcebn2AXiRdFxw?FR"><mutation else="1"></mutation><value name="IF0"><block type="logic_compare" id="sZ]V;8X-Ew?^V;v*,-T["><field name="OP">LTE</field><value name="A"><block type="variables_get" id="v]v}gPnDT}vWC1;k#v0U"><field name="VAR">a</field></block></value><value name="B"><block type="variables_get" id=",02RhS;e7sR*yQB9[}){"><field name="VAR">b</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="FS1-):uv?!.+/4H2!b*4"><field name="VAR">c</field><value name="VALUE"><block type="variables_get" id="I+~;gLY1KquN2E/^$71p"><field name="VAR">a</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="PKgb/((rzjxEh:$/m9[z"><field name="VAR">c</field><value name="VALUE"><block type="variables_get" id="]P+RprTO*@wbj{sQ`X.5"><field name="VAR">b</field></block></value></block></statement><next><block type="inout_print_many" id="K_-P`rF(?:7?!#W[cO+1"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="kL_g1!J1=ks_j?aRcire"><field name="TEXT">两个数中的最小数是:</field></block></value><value name="ADD1"><block type="variables_get" id="H51`@2+?,[EC5IQL+h8}"><field name="VAR">c</field></block></value></block></next></block></next></block></next></block></xml><config>{}</config><code>YSA9IGludChpbnB1dCgn6L6T5YWl6Ieq54S25pWwYTonKSkKYiA9IGludChpbnB1dCgn6L6T5YWl6Ieq54S25pWwYjonKSkKaWYgYSA8PSBiOgogICAgYyA9IGEKZWxzZToKICAgIGMgPSBiCnByaW50KCfkuKTkuKrmlbDkuK3nmoTmnIDlsI/mlbDmmK/vvJonLCBjKQo=</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="VX#SCaVw3R~+KxeAo8bl" x="-644" y="-526"><field name="VAR">华氏温度</field><value name="VALUE"><block type="inout_type_input" id="jg+{{{HeMSL^[.pH*u1j"><field name="DIR">float</field><value name="VAR"><shadow type="text" id="mCx_bcWd8$Y4d-ZQ}fPt"><field name="TEXT">请输入一个华氏温度的值:</field></shadow></value></block></value><next><block type="variables_set" id="ws#c3+2V.SkY$aMl`[m`"><field name="VAR">摄氏温度</field><value name="VALUE"><block type="math_arithmetic" id="Glx1;$:pyc}*`VGBZ1S*"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number" id="h$wJk34=9A;F)XJozlL0"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="drBzG@$Z^f$x@DZBw~{@"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="O(-Iemd3fukeLZK-xX}t"><field name="NUM">5</field></shadow></value><value name="B"><shadow type="math_number" id="c~_F7=*;^}.t}kb{#tTX"><field name="NUM">8.5</field></shadow><block type="math_arithmetic" id="OP]-wy~f3Sl9wWI/0bD|"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="U_kMAcl0UXa,8ZuP.:bb"><field name="NUM">1</field></shadow><block type="variables_get" id="ew$u]*z|8uS24oO)o~*B"><field name="VAR">华氏温度</field></block></value><value name="B"><shadow type="math_number" id="|tog.SrN+`)yaVvTj_f,"><field name="NUM">32</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="^;Cg.#~b`?6KDX6m7w1I"><field name="NUM">9</field></shadow></value></block></value><next><block type="inout_print_many" id="aFB+lC)J_;PSS^5gS0!("><mutation items="2"></mutation><value name="ADD0"><block type="text" id="k1Ie@7WraALRfUR=I-r)"><field name="TEXT">对应的摄氏温度为:</field></block></value><value name="ADD1"><block type="variables_get" id="fwKXX_|-4g-{!5+$4pqe"><field name="VAR">摄氏温度</field></block></value></block></next></block></next></block></xml><config>{}</config><code>5Y2O5rCP5rip5bqmID0gZmxvYXQoaW5wdXQoJ+ivt+i+k+WFpeS4gOS4quWNjuawj+a4qeW6pueahOWAvO+8micpKQrmkYTmsI/muKnluqYgPSAoNSAqICjljY7msI/muKnluqYgLSAzMikpIC8gOQpwcmludCgn5a+55bqU55qE5pGE5rCP5rip5bqm5Li677yaJywg5pGE5rCP5rip5bqmKQo=</code>