登录
首页 » python » python实现奶茶店自动结算系统

python实现奶茶店自动结算系统

于 2022-12-13 发布 文件大小:3.08 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

项目名称:培华奶茶店自动结算系统作者:Kitt版本:V1.0时间:2018年5月功能描述:1、每位顾客购物时,可多次输入奶茶编号和数量,并设置退出;2、将每位顾客的购买信息记录在字典中(奶茶名称及数量),使用字典计算购买的总数量;3、顾客购物信息打印时,分别显示每种口味的编号和数量,末尾显示总金额;4、非会员顾客要求设置会员号和手机号,并且将会员号和手机号记录为字典形式;5、将每位顾客的每条购物信息记录为一个字典(每种口味一个字典,分别记录会员号)6、将顾客的购物过程、购物信息打印、购物详情记录分别封装为函数;7、设置主函数,在主函数中调用上条所定义的函数。版本:V2.0(1)购物过程shopping_procedue:(2)计算购物金额,并打印购物内容;(3)记录vip会员号和手机号在字典vip_dic中,购物时判断是否为老会员,如果是,享受9折优惠。更新两个功能:1、将vip信息保存成文件vip_no.csv,格式如下:vip_no,phone_no,date123,18712345678,2018-05-30124,13966902212,2018-05-30125,13899002232,2018-05-302、将每天的购物信息保存成文件user_buy_log_yyyy_mm_dd.csv,格式如下:vip_no,milk_tea_no,milk_tea_amount123,1,2123,4,1123,3,2124,2,1125,4,2

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • jieba分词代码
    从文章或段落中划分词语,识别词性和统计词频,从而提取能显示内容中心关键词和高频词语(Dividing words from articles or paragraphs, identifying parts of speech and counting word frequencies, so as to extract keywords and high-frequency words that can display the content center.)
    2020-06-23 17:00:02下载
    积分:1
  • 高质量源码
    说明:  k-means聚类算法,spectral clustering,手写数字识别,数据分类(K-means clustering algorithm, spectral clustering, handwritten number recognition, data classification)
    2021-04-21 18:05:12下载
    积分:1
  • 汉语最全同义词列表
    说明:  在做自然语言处理是可以用于同义词的字典的构建(List of Chinese synonyms)
    2020-02-25 16:17:01下载
    积分:1
  • BarrierOption
    定价代码,用于给定波动率等信息给障碍期权定价。(Pricing Barrier Options with Information such as Given Volatility)
    2021-01-05 11:28:54下载
    积分:1
  • Tang-ICC17
    实现无线网络中能量的智能分配问题,通过dqn算法解决(Realizing the intelligent allocation of energy in wireless networks, solved by dqn algorithm)
    2020-07-28 23:08:44下载
    积分:1
  • ann
    用简单神经网络(ANN)实现的手写数字识别(minst),可直接运行,用的是Tensorflow框架,通过该例程可以掌握Tensorflow基本用法(With a simple neural network (CNN) to achieve the handwritten numeral recognition (minst), can be run directly, using the Tensorflow framework, through the routine can master Tensorflow basic usage)
    2017-04-06 23:59:55下载
    积分:1
  • decision tree
    说明:  包含决策树机器学习numpy实现和sk-learn实现代码,可直接运行(It contains decision tree code by numpy and sklearn ,it can be run directly)
    2020-09-27 17:16:24下载
    积分:1
  • 直方图均衡化
    在VS2013+openCV平台运行,只要对图像进行均衡化,像素均衡,零度均衡,试图像像素分布均匀,使图像更加清晰,细节突出
    2022-03-21 23:48:19下载
    积分:1
  • 飞碟大战(就是把飞机大战改了一下)
    飞机大战
    2019-08-30下载
    积分:1
  • Genetic Algorithm Basic
    说明:  用python编写的遗传算法基本流程,包括变异、交叉、选择等步骤(Basic process of genetic algorithm written in python, including mutation, crossover, selection and other steps)
    2019-04-18 20:01:05下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载