fork download
  1. #creat a list of fruits
  2. fruits=["banana","apple","mango",]
  3. #Access and print the second friut
  4. print[fruits[2]]
Success #stdin #stdout 0.05s 63236KB
stdin
Standard input is empty
stdout
['mango']