访问数组元素

  1. cars = ["Porsche", "Volvo", "BMW"]
  2.  
  3. x = cars[0]
  4.  
  5. print(x)