• <button id="ecio8"></button>
  • <li id="ecio8"></li>
    <s id="ecio8"></s>
    <dl id="ecio8"></dl>
    <center id="ecio8"><noscript id="ecio8"></noscript></center>
    • <table id="ecio8"><source id="ecio8"></source></table>
      <bdo id="ecio8"></bdo>
    • <s id="ecio8"></s>

      代做COMP9021、代寫python語言編程

      時(shí)間:2024-06-15  來源:  作者: 我要糾錯(cuò)



      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









       

      標(biāo)簽:

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

      昆明圖文信息
      蝴蝶泉(4A)-大理旅游
      蝴蝶泉(4A)-大理旅游
      油炸竹蟲
      油炸竹蟲
      酸筍煮魚(雞)
      酸筍煮魚(雞)
      竹筒飯
      竹筒飯
      香茅草烤魚
      香茅草烤魚
      檸檬烤魚
      檸檬烤魚
      昆明西山國家級(jí)風(fēng)景名勝區(qū)
      昆明西山國家級(jí)風(fēng)景名勝區(qū)
      昆明旅游索道攻略
      昆明旅游索道攻略
    • 福建中專招生網(wǎng) NBA直播 短信驗(yàn)證碼平臺(tái) 幣安官網(wǎng)下載 WPS下載

      關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

      Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
      ICP備06013414號(hào)-3 公安備 42010502001045

      欧美成人免费全部观看天天性色,欧美日韩视频一区三区二区,欧洲美女与动性zozozo,久久久国产99久久国产一
    • <button id="ecio8"></button>
    • <li id="ecio8"></li>
      <s id="ecio8"></s>
      <dl id="ecio8"></dl>
      <center id="ecio8"><noscript id="ecio8"></noscript></center>
      • <table id="ecio8"><source id="ecio8"></source></table>
        <bdo id="ecio8"></bdo>
      • <s id="ecio8"></s>
        主站蜘蛛池模板: 国产69久久精品成人看小说| 欧美交换性一区二区三区| 最近高清中文在线国语字幕 | 麻豆国产一区二区在线观看| 波多野结衣制服诱惑| 夜爽爽爽爽爽影院| 四虎成人国产精品视频| 久久久久久国产精品免费无码| 69tang在线观看| 欧美日韩**字幕一区| 国产精品美女久久久网站动漫| 嘟嘟嘟www在线观看免费高清 | 亚洲五月激情网| 777奇米影视四色永久| 最近的2019中文字幕hd| 在线成年人网站| 亚洲毛片无码专区亚洲乱| 东北老妇露脸xxxxx| 高h视频免费观看| 青青草原在线视频| 日韩国产有码在线观看视频| 国产原创精品视频| 久久久久久国产精品免费无码| 国产精品大片天天看片| 日韩欧美第一区二区三区| 国产亚洲综合成人91精品| 中文字幕成人免费高清在线视频| 黑巨人与欧美精品一区| 欧美大香线蕉线伊人久久| 大豆网52dun怪汉网如如| 亚洲欧美日韩国产一区二区精品| 一个人免费观看日本www视频 | 亚洲小说图片区| 99精品一区二区三区| 欧美视频亚洲色图| 在线天堂中文官网| 亚洲国产欧美日韩一区二区三区 | 色8久久人人97超碰香蕉987| 成人性生交大片免费看| 从镜子里看我怎么c你| xxxwww欧美性|