program代做、代写python设计编程
Assignment 01
Deadline: 1 1 : 5 9 P M , April 11, 2024
Description:
A medical prescription for corticoids after the kidney transplant has a degressive
dose. The doctors make this prescription by hand computing the dates and hand it to
the patient as a text.
We want to help the doctors make this process automatic.
Here is how is the prescription made:
1. Start with a dose of 1 milligram for every kilogram of the patient's weight, rounded to
the nearest multiple of 5. Maintain this dose for 21 days.
2. Afterwards, decrease the dose by 5 milligrams each week until reaching 30
milligrams. Stay on the 30 milligram dose for 21 days.
3. Then decrease by 2.5 milligrams every 5 days until reaching 15 milligrams.
4. Reduce the dose by 1 milligram every 10 days until reaching 0.
5. Stop the treatment at dose zero.
Your task is as follows:
1. Write a program which will ask the user to enter the initial date of the treatment, the
weight of the patient and the name of output file and you will create a text file
containing the prescription.
Suppose I enter 70 kilograms starting from 12/04, 12 is the day and 4 the
month and I call my output file as “dosage”.
Note: you can use other date formats as far as it is clearly explained.
The output of your program is a text file as follows:
CORTANCYL : Decreasing dose protocol :
- 70 mg from 12/04 to 03/05
- 65 mg from 04/05 to 10/05
- 60 mg from 11/05 to 17/05
- 55 mg from 18/05 to 24/05
- 50 mg from 25/05 to 31/05
- 45 mg from 01/06 to 07/06
- 40 mg from 08/06 to 14/06
- 35 mg from 15/06 to 21/06
- 30 mg from 22/06 to 12/07
- 27.5 mg from 13/07 to 17/07
- 25.0 mg from 18/07 to 22/07
- 22.5 mg from 23/07 to 27/07
- 20.0 mg from 28/07 to 01/08
- 17.5 mg from 02/08 to 06/08
- 15.0 mg from 07/08 to 11/08
- 14 mg from 12/08 to 21/08
- 13 mg from 22/08 to 31/08
- 12 mg from 01/09 to 10/09
- 11 mg from 11/09 to 20/09
- 10 mg from 21/09 to 30/09
- 9 mg from 01/10 to 10/10
- 8 mg from 11/10 to 20/10
- 7 mg from 21/10 to 30/10
- 6 mg from 31/10 to 09/11
- 5 mg from 10/11 to 19/11
- 4 mg from 20/11 to 29/11
- 3 mg from 30/11 to 09/12
- 2 mg from 10/12 to 19/12
- 1 mg from 20/12 to 29/12
Then stop
2. Create an interface for this program using PySimpleGUI or Tkinter to allow the user
to choose the weight or type it, to choose the starting date on a calendar. Then
uses the navigation to say where the file should be saved. Take care of errors,
and alerts, try to be as interactive as possible to solve the users’ problems.
Submission Guidelines:
Submit a python file and a readme file (maximum one page) as a zip file. Name your file
as id_name_a1. Your python file should be commented, and all functions should have
the doc string.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- 打破国际市场的屏障 WhatsApp拉群营销工具是你的全球业务开创者
- ins群发软件/ins营销软件,海外爆粉速度联系天宇测试
- instagram营销软件,ins协议群发,联系天宇群发预约测试
- ins超好用群发神器!Instagram自动采集博主粉丝,Ins营销必备工具!
- Ins群发脚本助手,Instagram一键群发工具,让你打造营销新格局!
- Instagram引流营销软件揭秘,Ins一键私信软件助你轻松爆粉!
- ins/ig精准采集软件,instagram最新群发引流软件推荐
- 聚焦全国一体化算力体系构建,忆联以强大存力“引擎”释放算力潜能
- Telegram快速拉群营销软件,手把手教你TG快速营销引流
- Ins拉群营销软件,Instagram引流工具,共同打造营销新辉煌!
- COMP3334代做、SQL设计编程代写
- program代做、代写R编程语言
- WhatsApp工具助力 博主揭秘成功营销秘诀
- 守护食品安全,万店掌AI巡店系统助力门店防线升级!
- 代做ELEC 292、代写Python/c++编程设计
- 智能潮流导航WhatsApp工具助你轻松穿越商业风云站在最前沿
- 绿色生态,健康之选——引领您走进生态农业的奇妙世界
- 数字智慧 专家心得 WhatsApp拉群营销工具是我业务成功的科技奇迹
- ins拉群软件:一键式品牌推广的完美搭桥
- 抖音相关负责人:没有洽谈接手阿里大文娱
- 数字市场风云:专家心法,LINE营销工具为何引发好奇,业务成功势不可挡
- 从零开始 WhatsApp拉群工具是外贸小白的亲身感官之旅
- 代写program编程、代做C/C++,Java程序
- 纸飞机高效营销,一键拉群!Telegram群发工具助你实现引流!
- 神州医疗与协和罕见病诊疗创新发展研究院开展战略合作,共建联合实验室
- Instagram群发筛选软件,Ins群发注册工具,助你轻松推广!
- CISC3025代写、代做Natural Language Processing
- 一手TG-WS-LINE频道号,直登号,协议号,老号数据之选:zalo代筛料子专业服务塑造您的业务未来
- 圆心科技通过港交所聆讯:与477家医院合作,腾讯持股19.6%
- ins强力引流神器来袭!Instagram群发软件,Ins客户引流不再愁!
推荐
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技