{"id":201069,"student_id":2589,"content":"# 整數:int\nprint(type(1))\nprint(type(0)) \nprint(type(-1))\n\n# 浮點數:float\nprint(type(0.1))\nprint(type(-1.23))\nprint(type(1.0))\n\n# 字串:str\nprint(type(\"你好!\"))\nprint(type('hi'))\nprint(type(\"\"\"\n這是多行字串,\n用三個「\"」包住的字串,\n就可以一直寫一直換行ㄛ\n\"\"\"))\n\n# 布林值:bool\nprint(type(True))\nprint(type(False))\nprint(type(20 \u003e 10))\nprint(type(20 == 10))","created_at":"2020-11-04T10:22:54.231+08:00","updated_at":"2023-06-27T14:51:33.429+08:00","name":"考前筆記_範例","language":"python","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/201069/0d0547c284907d10a81a516ddb1bffa3.jpg"},"parent_id":201068,"plugin":"import game #載入遊戲套件\ngame.setBackdrop(\"#000000\");\n\nclock = 0\ndef loop():\n global clock\n if (clock // 50) % 2 == 0:\n game.draw_text(\"執 行 完 成 , 請 查 看 主 控 台 ! _\", 60, 60, '#fff', 50)\n else:\n game.draw_text(\"執 行 完 成 , 請 查 看 主 控 台 ! \", 60, 60, '#fff', 50)\n clock += 1\n\ngame.forever(loop)","description":null,"note":null,"status":"public","like_student_ids":[50507],"is_featured":false,"views":45,"hashid":"6rps98wvg","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦