顶顶顶顶顶顶顶顶顶顶 class ShoppingList extends React.Component { render() { return ( Shopping List for {this.props.name} Instagram WhatsApp Oculus ... ...
分类:
其他好文 时间:
2018-06-10 12:09:14
阅读次数:
160
元组 msg_dic={ 'apple':10, 'tesla':100000, 'mac':3000, 'lenovo':30000, 'chicken':10, } shopping_cart=[] while True: for k in msg_dic: info='商品名:%s 价钱:%s ...
分类:
编程语言 时间:
2018-05-31 20:40:33
阅读次数:
191
msg_dic = { 'apple': 10, 'tesla': 100000, 'mac': 3000, 'lenovo': 30000, 'chicken': 10,}shopping_cart=[]tag = Truewhile tag: for i in msg_dic: info = ' ...
分类:
其他好文 时间:
2018-05-31 20:33:49
阅读次数:
210
msg_dic={'apple':10,'tesla':100000,'mac':3000,'lenovo':30000,'chicken':10,}shopping_cart=[]while True: for k in msg_dic: info='商品名:%s 价钱:%s' % (k, msg ...
分类:
其他好文 时间:
2018-05-31 19:25:55
阅读次数:
116
alex 的三级菜单程序堪称经典了 查找了好多资料,尽我目前的能力,这个购物车真的只能写成这样了。希望下章open 文件应用的多多努力。就知道shopping_list怎么灵活的存入文件,又如何灵活调用出来。 ...
分类:
其他好文 时间:
2018-05-30 21:24:40
阅读次数:
145
#!/usr/bin/env python# -*- coding: utf-8 -*-# @Time : 2018/5/27 0027 14:07# @Author : Anthony.Waa# @Site : # @File : User_Login_Register_Shopping 1.0. ...
分类:
其他好文 时间:
2018-05-30 21:20:52
阅读次数:
157
传送门 题目描述 Little girl Susie went shopping with her mom and she wondered how to improve service quality. There are n people in the queue. For each perso ...
分类:
其他好文 时间:
2018-05-28 00:53:14
阅读次数:
241
文件处理 (1)读 f = open(file='D:/python/shopping.txt‘,mode='r',encoding='utf-8') data = f.read() f.close() 安装第三方工具包pip3 install chardet#安装 import chardetf ...
分类:
其他好文 时间:
2018-05-26 00:36:15
阅读次数:
158
来看一个网上很流行的经典例子 0.申请方式和回收方式不同 不知道你是否有点明白了,堆和栈的第一个区别就是申请方式不同:栈(英文名称是stack)是系统自动分配空间的,例如我们定义一个 char a;系统会自动在栈上为其开辟空间。而堆(英文名称是heap)则是程序员根据需要自己申请的空间,例如mall ...
分类:
编程语言 时间:
2018-05-24 16:25:15
阅读次数:
211
#!/usr/bin/env python# -*- coding: utf-8 -*-# @File : user_login_register_shopping.py# @Author: Anthony.waa# @Date : 2018/5/23 0023# @Desc :# 用户登录状态fl ...
分类:
其他好文 时间:
2018-05-23 16:14:42
阅读次数:
173