CHAWTeam
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: DICE Python --- DICE Python程式破解 === > [name=CHAWTeam & 智人] :::danger 責任聲明: 本文章筆記僅提供程式解題說明攻略,純粹分享個人心得與想法。 題目、輸出範例與範例程式均屬「[十八豆教育科技有限公司](http://www.18dice.tw)」旗下平臺「[DICE程式設計精準教學平台](http://www.18dice.tw/diceweb)」所有。 ::: :::warning - 本筆記仍處編輯中。如未標上題目或錯誤連結,均屬於未公開發表的文章筆記。我們已經盡全力編撰與校稿中,請耐心等候更新。 - 未完成編輯的筆記,程式碼暫時以 C 語言代替。 - 若有任何勘誤、建議或疑問,歡迎留言或聯繫:[chawteam21@gmail.com](mailto:chawteam21@gmail.com) ::: - [目錄](https://hackmd.io/@CHAWTeam/DicePy) 程式語言 --- - [Python](https://hackmd.io/@CHAWTeam/DicePy) - [C語言](https://hackmd.io/@CHAWTeam/DiceC) - [C++(尚未編撰)](!) 1.公告 --- - 1-1 視訊會議 - 1-2 白板Jamboard 2.輸出函式 --- - [2-1 測試系統](https://hackmd.io/@CHAWTeam/DicePy-2-1) - [2-2 SayHello](https://hackmd.io/@CHAWTeam/DicePy-2-2) - [2-3 印三角形](https://hackmd.io/@CHAWTeam/DicePy-2-3) - [2-4 不是計算](https://hackmd.io/@CHAWTeam/DicePy-2-4) - [2-5 來個表格](https://hackmd.io/@CHAWTeam/DicePy-2-5) - - [2_1 倒印三角形](https://hackmd.io/@CHAWTeam/DicePy-2_1) - [2_2 身高體重](https://hackmd.io/@CHAWTeam/DicePy-2_2) 3.變數與指定運算子 --- - [3-1 指定整數](https://hackmd.io/@CHAWTeam/DicePy-3-1) - [3-2 加上一些形容詞](https://hackmd.io/@CHAWTeam/DicePy-3-2) - [3-3 指定浮點數](https://hackmd.io/@CHAWTeam/DicePy-3-3) - [3-4 整數與浮點數](https://hackmd.io/@CHAWTeam/DicePy-3-4) - [3-5 =不是等號](https://hackmd.io/@CHAWTeam/DicePy-3-5) - [3-6 自主學習](https://hackmd.io/@CHAWTeam/DicePy-3-6) - - [3_1 印出2個指定的整數](https://hackmd.io/@CHAWTeam/DicePy-3_1) - [3_2 最後來的是主人](https://hackmd.io/@CHAWTeam/DicePy-3_2) - [3_3 數蘋果](https://hackmd.io/@CHAWTeam/DicePy-3_3) - [3_4 =不是等號](https://hackmd.io/@CHAWTeam/DicePy-3_4) - [3_5 加法再現](https://hackmd.io/@CHAWTeam/DicePy-3_5) - [3_6 四捨五入](https://hackmd.io/@CHAWTeam/DicePy-3_6) - [3_7 計算一下](https://hackmd.io/@CHAWTeam/DicePy-3_7) - [3_8 自主學習](https://hackmd.io/@CHAWTeam/DicePy-3_8) 4.輸入函式 --- - [4-1 1個整數](https://hackmd.io/@CHAWTeam/DicePy-4-1) - [4-2 倒序](https://hackmd.io/@CHAWTeam/DicePy-4-2) - [4-3 浮點數](https://hackmd.io/@CHAWTeam/DicePy-4-3) - [4-4 3個浮點數](https://hackmd.io/@CHAWTeam/DicePy-4-4) - [4-5 長方形](https://hackmd.io/@CHAWTeam/DicePy-4-5) - [4-6 自主學習](https://hackmd.io/@CHAWTeam/DicePy-4-6) - - [4_1 輸入2個整數](https://hackmd.io/@CHAWTeam/DicePy-4_1) - [4_2 兩整數相加](https://hackmd.io/@CHAWTeam/DicePy-4_2) - [4_3 身高與體重](https://hackmd.io/@CHAWTeam/DicePy-4_3) - [4_4 印出資料](https://hackmd.io/@CHAWTeam/DicePy-4_4) 5.算術運算子 --- - [5-1 四則運算](https://hackmd.io/@CHAWTeam/DicePy-5-1) - [5-2 餘數](https://hackmd.io/@CHAWTeam/DicePy-5-2) - [5-3 梯形面積](https://hackmd.io/@CHAWTeam/DicePy-5-3) - [5-4 溫度換算](https://hackmd.io/@CHAWTeam/DicePy-5-4) - [5-5 三次溫度換算](https://hackmd.io/@CHAWTeam/DicePy-5-5) - [5-6 時間計算](https://hackmd.io/@CHAWTeam/DicePy-5-6) - [5-7 自主學習](https://hackmd.io/@CHAWTeam/DicePy-5-7) - - [5_1 緞帶長度](https://hackmd.io/@CHAWTeam/DicePy-5_1) - [5_2 年利率](https://hackmd.io/@CHAWTeam/DicePy-5_2) - [5_3 圓周長與面積](https://hackmd.io/@CHAWTeam/DicePy-5_3) - [5_4 衛星繞地球](https://hackmd.io/@CHAWTeam/DicePy-5_4) - [5_5 製作時間](https://hackmd.io/@CHAWTeam/DicePy-5_5) 6.只選我要的 --- - [6-1 選正數](https://hackmd.io/@CHAWTeam/DiceC-6_1) - [6-2 選偶數](https://hackmd.io/@CHAWTeam/DiceC-6-2) - [6-3 發現不相等](https://hackmd.io/@CHAWTeam/DiceC-6-3) - [6-4 輸出絕對值](https://hackmd.io/@CHAWTeam/DiceC-6-4) - [6-5 預算夠不夠?](https://hackmd.io/@CHAWTeam/DiceC-6-5) 7.用if交換變數 --- - [7-1 比大小](https://hackmd.io/@CHAWTeam/DiceC-7-1) - [7-2 三數比大小](https://hackmd.io/@CHAWTeam/DiceC-7-2) - [7-3 五數比大小](https://hackmd.io/@CHAWTeam/DiceC-7-3) - [7-4 判斷閏年](https://hackmd.io/@CHAWTeam/DiceC-7-4) --- {%hackmd Iiu5mOixR7yWkPHKCkabBg %} <iframe class="LikeCoin" height=210 src="https://button.like.co/in/embed/chawteam/button?referrer=https://hackmd.io/@CHAWTeam/DicePy" width="100%"></iframe> --- {%hackmd i1nMRrZcTFmTvoF897K9zg %}

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully