一、面向对象初识 从结构上理解:面向对象分为两部分 函数vs面向对象: def ragister(argv): pass def login(argv): pass def shoppingcar(argv): pass class Shopping_Car: def __init__(self): ...
分类:
编程语言 时间:
2018-08-23 21:04:56
阅读次数:
197
shopping=[('toy',50), ('clothes',100), ('iphone',5000), ('bike',400), ('hat',20), ('food',100)]buy_shopping=[]salary=int(input('input your salary:'))w ...
分类:
其他好文 时间:
2018-08-22 14:57:56
阅读次数:
96
product_list = [ ('phone1',5000), ('phone2',4000), ('phone3',3000), ('phone4',2000), ('phone5',1000), ('phone6',100),]shopping_list = []salary = input ...
分类:
其他好文 时间:
2018-08-20 15:38:05
阅读次数:
124
系统出现个别订单状态是Pending,但Paypal已经收到钱,按照下面步骤逐一排查 1.打开Paypal的设置,修改Debug Mode为Enabled 2.后台System 》 Tools 》Error Logs,查看日志,发现出现问题的订单返回PP_STANDARD :: IPN RESPON ...
分类:
其他好文 时间:
2018-08-20 12:24:22
阅读次数:
191
from interface import user,shopping,bankfrom lib import commondef register(): while True: print('注册') inp_name=input('请输入用户名').strip() pwd=input('请输入密 ...
分类:
其他好文 时间:
2018-08-16 00:42:36
阅读次数:
149
如图类似的 这样的需求还挺多的,那么如何实现呢? data: { userInfo: {}, projectSource: 'https://github.com/liuxuanqiang/wechat-weapp-mall', userListInfo: [ { icon: '../../imag... ...
分类:
微信 时间:
2018-08-15 11:13:40
阅读次数:
3999
题目链接:https://vjudge.net/contest/242578#problem/B Dasha decided to bake a big and tasty layer cake. In order to do that she went shopping and bought n ...
分类:
其他好文 时间:
2018-08-01 13:59:41
阅读次数:
158
```
package com.lanqiao.shopping.test; import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.Fi... ...
分类:
数据库 时间:
2018-07-30 00:32:10
阅读次数:
147
开发环境:在elementaryOS系统下。 # 基于ubuntu16.04 使用:pycharm、git、django==1.11.11、 1.在码云(https://gitee.com/SKsitigarbha/meiduo)下创建出自己的项目——meiduo # 选择Python语言,.git ...
分类:
其他好文 时间:
2018-07-20 01:16:14
阅读次数:
763
1.once 曾经 I met president once. 一次 I clean the roon once a week. once more=once again 再一次 Can you read the words once more. once in a while=occasionll ...
分类:
其他好文 时间:
2018-07-19 21:10:03
阅读次数:
155