99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

COMP 636代做、代寫Python設計程序

時間:2024-03-31  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



COMP 636: Python Assessment
Due: 5pm Friday 29th March 2024
Worth 40% of COMP636 grade
Submit via Akoraka | Learn
Important note
This is an individual assessment. You must not collaborate or confer with others
(e.g., telling others exactly what to do, or how to do it, or sharing or debugging
others’ code, or using ghost writers, etc), but the discussion of general concepts
(e.g., how loops work in general, not specific to this assessment) is allowed. You
may seek clarification and advice from staff.
DO NOT use any AI tools in the completion of this assignment, this includes but is
not limited to: ChatGPT, Microsoft Co-Pilot, Google Bard.
Ensure you are familiar with the University policies on Academic Integrity (see here).
Introduction
Selwyn Campground has asked for a system to help manage its campground business. You are
provided with an outline of the code for the system to complete.
The campground offers a range of options for people who wish to camp, these include
unpowered tent-sites and powered sites.
Information is stored about each of the options offered, including the identifier and the
maximum occupancy Each customer has contact information stored.
Example data is provided with this assessment and the format is described below.
UNPS is a list containing tuples that include an identifier for each Un-powered site and
maximum occupancy for the site.
PS is a list containing tuples that include an identifier for each Powered site and a maximum
occupancy for the site.
Bookings is a dictionary of campground bookings indexed by a key value (date), the entry is a list
that contains a two lists, the first list is unpowered sites, the second list is for powered sites.
Each list should contain tuples that have (site_identifier, customer_identifier, occupancy).
Tuples are added to the list only when a booking is made.
An example of the bookings dictionary
{datetime.date(2024,4,11):[[(‘U01’,563,1)],[(‘P04’,652,3),(‘P07’,7**
,2)]]}
2
Customers is a dictionary of customers. The dictionary contains a dictionary per customer (key
customer identifier (integer) customer details which is structured with the keys: name, phone
and email (remember that keys don’t need to be in the same order each time).
An example of the Customers dictionary is shown below.
{563:{'name':'Simon Smith',
’phone’:'0244881**1',’email’:'simon@smith.nz'}}
Assumptions: A site is listed in the bookings dictionary for a particular date only if it is booked on
that date. A booking that covers multiple dates will be entered into the dictionary for each night
of the booking. Customers are entered into the system before they can make a booking.
Remember that we will use a different set of data for marking in camp_data.py with the same
structure. So do not hard-code values because we will mark with different customers, sites
and dates.
File Download:
Download the following files from the COMP636 Assessment block on Akoraka | Learn:
- camp_admin_your_name.py – This is the initial code to begin from.
Include your own name in the filename (e.g., camp_admin_Anna_Lee.py), and your
name and student ID in a comment at the start of the file. Do not change the menu
numbering or existing function names, although you may add additional functions of
your own.
- camp_data.py – The campground data. Do not change the structure of this data.
Although, you may add extra data. We will use our own copy of camp_data when
marking, with different data, but with the same structure as provided.
- A function (next_id(dict)) is provided to give you the next ID number for a dictionary
(add_customer)
Requirements
- The system needs to keep a record of customers.
- The system must allow bookings to be made by specifying a customer, a starting date,
the number of nights (maximum five nights), and the booked site (powered or unpowered).
- A list of available camp sites needs to be displayed.
- Missing data values are recorded as None.
- One function (list_customers) for menu option 1 has already been provided for you. This
lists all of the customers and displays Customer ID, Name, Phone Number and Email.
- You must use the provided column_output function for all on-screen display of data.
You will need to convert your dictionary data into the correct format for this function (the
list_customers function gives an example of how to do this). Do not modify this
function.
3
- Validate all user input appropriately. If data of the wrong type is entered by the user, this
should be captured without causing the program to crash or any other type of error. Also
ensure that only valid values that make sense can be entered.
Tasks
Add the following features to the system:
1. Menu enhancement: Modify the code so that the user can enter an upper- or lowercase X (i.e., X or x) to exit the program.
2. Add Customer: Add a New Customer, taking in their name, phone number and email
address. All values should be stored as Strings.
3. List Camp Sites: Show un-powered and powered sites, ordered by site. Information
displayed should be the site identifier and maximum occupancy.
4. Add Booking: This function should add a booking for a customer, taking in the site to
be used, the start night, and the number of nights. The interface must prompt the user
with valid values to assist them entering information (e.g. list of site identifiers). The key
value for a booking is the date in the python date format
(datetime.date(Year,Month,Day))
Note: It is assumed that only one booking per day will be added per customer, you
do not need to check/validate this.
5. List campers for a date: Display campers (customers) that are staying at the
campground for a specified night. This should show customer name, site and number
of occupants. The display should be ordered by site identifier.
Additional notes:
- The quality of the user experience will be taken into account, for each of the tasks above.
Full marks for any item will require validation of data entered (for data type and sensible
values) and details in the interface that demonstrate some consideration of what would
work well for the user (within the limitations of the terminal window output in VS Code).
- The provided camp_admin_your_name.py Python file contains a menu structure and
partially completed functions. These must not be deleted or renamed, but you may add
arguments/parameters to these functions. You may also add additional functions of
your own. Remember to rename the file to include your name.
- You are expected to apply problem solving skills to practically solve issues as they arise.
- You must add comments to your code. These do not need to be on every line of code but
should be written to be enough detail so that if you came back to the code in 12 months’
time that you could quickly work out what the code is doing. The existing list_customers
function gives an example of the level of commenting that is expected. Marks for
comments are included in the allocation for each menu item.
Submission:
Submit (upload) only your main Python .py file for marking: camp_admin_your_name.py. Do not
include the camp_data.py file.
4
- Submit your file via the submission link on the COMP636 Assessment page.
Indicative mark allocation
(This indicates where to spend your time).)
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代做 Distributed System、代寫Java/Python程序語言
  • 下一篇:莆田鞋在哪里買(莆田鞋十大良心微商一覽表)
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                亚洲精选一二三| 精品国产一区二区亚洲人成毛片| 久久综合色8888| 国产v日产∨综合v精品视频| 国产欧美视频在线观看| 欧美亚洲一区二区在线| 老司机精品视频在线| 国产精品欧美久久久久一区二区| 91精品福利视频| 国精产品一区一区三区mba视频| 中文字幕在线视频一区| 91在线精品一区二区三区| 五月激情六月综合| 国产欧美一区二区精品性色超碰 | 欧美美女直播网站| 久久精品国产精品青草| 日韩avvvv在线播放| 国产精品国产三级国产专播品爱网| 久久久不卡网国产精品二区 | 奇米精品一区二区三区在线观看一| 国产午夜亚洲精品羞羞网站| 91.xcao| 色综合久久久网| 国产精品99久久久久久似苏梦涵 | 717成人午夜免费福利电影| 欧美精品久久天天躁| 久久综合色之久久综合| 国产精品的网站| 一区二区三区四区不卡在线| 国产精品视频yy9299一区| 亚洲日本电影在线| 久久精品视频免费| 亚洲欧美视频在线观看视频| 国产亚洲一本大道中文在线| 国产精品久久免费看| 亚洲黄色小视频| 国产综合久久久久影院| 91在线你懂得| 精品免费日韩av| 欧美一二三在线| 91麻豆精品国产无毒不卡在线观看 | 亚洲午夜私人影院| 亚洲人成人一区二区在线观看 | 日本一区二区三级电影在线观看 | 欧美精品日韩一本| 国产欧美日韩精品一区| 亚洲午夜久久久久久久久久久| 久久精品国产澳门| 91影视在线播放| 99久久久国产精品| 538在线一区二区精品国产| 国产欧美日韩三区| 久久精品国产亚洲5555| 日本精品视频一区二区| 久久尤物电影视频在线观看| 亚洲观看高清完整版在线观看 | 91理论电影在线观看| 精品国产制服丝袜高跟| 亚洲国产成人tv| 一本大道av一区二区在线播放| 欧美精品一区男女天堂| 首页国产欧美日韩丝袜| 美女视频黄频大全不卡视频在线播放| 日韩黄色小视频| 91亚洲永久精品| 综合久久综合久久| 国产精品一区二区视频| 日韩一级黄色片| 五月综合激情日本mⅴ| av资源网一区| 欧美日本一区二区三区四区| 国产精品国产三级国产aⅴ原创| 日韩不卡一二三区| 337p亚洲精品色噜噜| 洋洋成人永久网站入口| 91蜜桃免费观看视频| 国产欧美日韩一区二区三区在线观看| 黄页视频在线91| 日韩欧美精品三级| 依依成人精品视频| 色综合一区二区| wwwwxxxxx欧美| 久久精品国产久精国产| 精品三级av在线| 久久99国产精品麻豆| 色综合久久综合网欧美综合网| 久久精品免费在线观看| 国产乱妇无码大片在线观看| 欧美激情中文不卡| 日韩成人dvd| 日韩女优av电影| 精品一区中文字幕| 久久久国产精品不卡| 成人精品免费看| 日韩一区国产二区欧美三区| 蜜臀av性久久久久av蜜臀妖精| 欧美mv日韩mv亚洲| 波多野结衣欧美| 亚洲午夜激情av| 精品88久久久久88久久久| 丰满白嫩尤物一区二区| 亚洲综合色丁香婷婷六月图片| 国产**成人网毛片九色| 中文字幕一区二区三| 欧美四级电影在线观看| 久久成人羞羞网站| 国产精品女主播av| 精品污污网站免费看| 亚洲精品一二三| 欧美一区二区三区啪啪| 日韩精品成人一区二区在线| 久久精品夜色噜噜亚洲a∨| 99精品偷自拍| 免费成人美女在线观看| 久久久久久久国产精品影院| 一本久久精品一区二区| 日韩精品一二区| 国产精品无圣光一区二区| 精品视频一区二区三区免费| 国产99精品视频| 三级在线观看一区二区| 国产精品人人做人人爽人人添| 欧美日韩国产综合一区二区三区| 久久激情五月婷婷| 亚洲精品国产视频| 国产亚洲成年网址在线观看| 91精品国产综合久久久久久| av在线一区二区| 韩国三级在线一区| 亚洲bt欧美bt精品777| 7777精品伊人久久久大香线蕉超级流畅| 国产成人精品综合在线观看| 久久午夜免费电影| 欧美视频中文字幕| 成人免费观看av| 国产精品一区在线观看乱码| 男女性色大片免费观看一区二区| 亚洲精品高清在线| 亚洲情趣在线观看| 中文幕一区二区三区久久蜜桃| 欧美成人伊人久久综合网| 欧美人体做爰大胆视频| 在线欧美日韩精品| 久久精品国产亚洲5555| 日韩有码一区二区三区| 亚洲最大成人综合| 最新国产成人在线观看| 国产精品成人在线观看| 日本一区二区视频在线| 欧美经典三级视频一区二区三区| 26uuu国产一区二区三区| 制服.丝袜.亚洲.另类.中文| 欧洲一区二区三区在线| 欧美三级视频在线| 在线播放91灌醉迷j高跟美女 | 黄网站免费久久| 国产麻豆欧美日韩一区| 亚洲精品国产无套在线观 | 色综合天天综合在线视频| 成人网在线免费视频| 成人午夜视频免费看| 成人免费高清在线| av在线免费不卡| 在线免费精品视频| 欧美日韩在线播放| 欧美一区二区三级| www久久精品| 中国av一区二区三区| 自拍偷拍亚洲激情| 一区二区在线观看视频在线观看| 亚洲精品国产精品乱码不99| 亚洲电影激情视频网站| 日韩—二三区免费观看av| 精品亚洲国产成人av制服丝袜| 国产一区二区久久| av电影天堂一区二区在线观看| 91理论电影在线观看| 欧美片在线播放| 久久久精品免费观看| 综合电影一区二区三区 | 欧美一级精品大片| 国产欧美日韩卡一| 亚洲精品高清视频在线观看| 美女网站在线免费欧美精品| 丁香啪啪综合成人亚洲小说| 欧美亚洲国产一卡| 精品成人私密视频| 亚洲美女视频一区| 久久精品国产亚洲5555| www.欧美日韩国产在线| 在线综合亚洲欧美在线视频| 日本一区二区三区视频视频| 天堂精品中文字幕在线| 成人一区二区在线观看| 欧美一级视频精品观看| 一区视频在线播放| 九九视频精品免费| 精品婷婷伊人一区三区三| 国产精品二区一区二区aⅴ污介绍| 日本最新不卡在线|