<samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
<ul id="e4iaa"></ul>
<blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>

      代做COMP9021、代寫python語言編程

      時間:2024-06-15  來源:  作者: 我要糾錯



      COMP9021 Principles of Programming
      Term 2, 2024
      Coding Quiz 1
      Worth 4 marks and due Week 3 Thursday @ 9pm

      Description
      You are provided with a stub in which you need to insert your code where indicated without doing any
      changes to the existing code to complete the task. You may import any module that is already installed in
      Ed if you wish.
      The current code generates a random list of integers between 1 and 6 whose length is chosen by the user
      and displays the list.
      Your task is to output the absolute difference between the first and the last values, displays the values as
      horizontal bars of dollars ($), and displays the values as vertical bars of stars (*).

      Marking
      Absolute Difference 1.0 mark
      Horizontal Bars 1.5 marks
      Vertical Bars 1.5 marks
      --------------------------------------------
      Total 4.0 marks

      Due Date and Submission
      Quiz 1 is due Week 3 Thursday 13 June 2024 @ 9.00pm (Sydney time).
      Note that late submission with 5% penalty per day is allowed up to 3 days from the due date, that is, any
      late submission after Week 3 Sunday 16 June 2024 @ 9pm will be discarded.
      Make sure not to change the filename quiz_1.py while submitting by clicking on [Mark] button in Ed.
      It is your responsibility to check that your submission did go through properly using Submissions link in Ed
      otherwise your mark will be zero for Quiz 1.

      Test Cases

      $ python quiz_1.py

      Enter two integers, the second one being strictly positive: 3 1
      Here are the generated values: [2]

      The absolute difference between first and last values is:
      0

      Here are the values represented as horizontal bars:

      $ $

      Here are the values represented as vertical bars:
      $ python quiz_1.py

      Enter two integers, the second one being strictly positive: 0 2
      Here are the generated values: [4, 4]

      The absolute difference between first and last values is:
      0

      Here are the values represented as horizontal bars:

      Here are the values represented as vertical bars:

      $ python quiz_1.py

      Enter two integers, the second one being strictly positive: 0 4
      Here are the generated values: [4, 4, 1, 3]

      The absolute difference between first and last values is:
      1

      Here are the values represented as horizontal bars:

      Here are the values represented as vertical bars:
      $ python quiz_1.py

      Enter two integers, the second one being strictly positive: 1 8
      Here are the generated values: [2, 5, 1, 3, 1, 4, 4, 4]

      The absolute difference between first and last values is:
      2

      Here are the values represented as horizontal bars:

      Here are the values represented as vertical bars:

      $ python quiz_1.py

      Enter two integers, the second one being strictly positive: 2 13
      Here are the generated values: [1, 1, 1, 3, 2, 6, 6, 3, 3, 5, 2, 5, 1]

      The absolute difference between first and last values is:
      0

      Here are the values represented as horizontal bars:

      Here are the values represented as vertical bars:


      請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp









       

      標簽:

      掃一掃在手機打開當前頁
    • 上一篇:COMP643代做、代寫SQL語言程序
    • 下一篇:COMP9414代做、代寫Java/c++編程語言
    • 無相關信息
      昆明生活資訊

      昆明圖文信息
      蝴蝶泉(4A)-大理旅游
      蝴蝶泉(4A)-大理旅游
      油炸竹蟲
      油炸竹蟲
      酸筍煮魚(雞)
      酸筍煮魚(雞)
      竹筒飯
      竹筒飯
      香茅草烤魚
      香茅草烤魚
      檸檬烤魚
      檸檬烤魚
      昆明西山國家級風景名勝區
      昆明西山國家級風景名勝區
      昆明旅游索道攻略
      昆明旅游索道攻略
    • 幣安app官網下載 幣安app官網下載

      關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

      Copyright © 2023 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
      ICP備06013414號-3 公安備 42010502001045

      主站蜘蛛池模板: 国产精品亚洲а∨无码播放不卡| 亚洲国产精品无码久久| 无码精品A∨在线观看无广告| 毛片一区二区三区无码| 狠狠躁天天躁中文字幕无码| 无码av免费一区二区三区| 亚洲AV无码AV男人的天堂不卡| 免费无码一区二区三区蜜桃| 亚洲av无码专区亚洲av不卡| 国产在线拍偷自揄拍无码| 免费无码又爽又高潮视频| 中文字幕无码播放免费| 亚洲中文字幕久久精品无码喷水| 免费无码肉片在线观看| 久久精品亚洲中文字幕无码网站 | 四虎国产精品永久在线无码| 国模无码人体一区二区| 天堂无码久久综合东京热| 亚洲成a人无码亚洲成av无码 | 一本大道无码日韩精品影视_| 免费无码毛片一区二区APP| 中文无码日韩欧免费视频| 免费无码肉片在线观看| 一本色道无码道DVD在线观看 | 国产精品无码久久av| 免费看成人AA片无码视频羞羞网 | 亚洲AV永久无码区成人网站| 亚洲AⅤ无码一区二区三区在线| 国产乱人伦中文无无码视频试看 | 久久久久成人精品无码中文字幕 | 亚洲国产精品无码久久九九大片| 特级无码毛片免费视频尤物| 亚洲VA中文字幕无码一二三区| 好硬~好爽~别进去~动态图, 69式真人无码视频免 | 亚洲av日韩av高潮潮喷无码| 亚洲国产成人片在线观看无码| 国产成人午夜无码电影在线观看| 一区二区三区无码视频免费福利| 韩日美无码精品无码| 日韩精品无码一区二区三区免费| 久久国产亚洲精品无码|