fork download
  1. product=['牛肉','可乐','鸡蛋']
  2. price=[40,3,20]
  3. print(product)
  4. print(price)
  5. product.append('水杯')
  6. print(product)
  7. price.append(35)
  8. print(price)
Success #stdin #stdout 0.07s 14120KB
stdin
Standard input is empty
stdout
['牛肉', '可乐', '鸡蛋']
[40, 3, 20]
['牛肉', '可乐', '鸡蛋', '水杯']
[40, 3, 20, 35]