top of page

{ Taiwan Code School }

條件判斷基礎


小練習

創造變數 clothes = 120 和 WashingMachine = 100 。使用 if 判斷,如果衣服大於洗衣機,就 print 衣服塞爆了,如果不是則 print 出正在清洗中。

bottom of page