Question: I am new to Vue Js and Firebase. I want to learn firebase /firestore db connection ,data in/out but i am not getting any proper documentation or tutorial for the same.Please suggest.

I am using VUE CLI 2.

Answer: 
It's simple. you have to do only `car = list[a]` which will give you 'BMW'.

```
myList = ["Ford", "Volvo", "BMW"]
x = len(myList)
a = x - 1
car = myList[a]
print(car)   # 'BMW'

```

I have renamed the variable name. While you are giving variable name just careful about the predefined/built in keywords because its not good approach to give variable/function name same as built in types as it masks the builtin type name.
At first, don't use `list` as a variable, `list` is a keyword in python. Try some other name. And you are now printing the value of a which is an index not an element of the list. You have to use `list[a]` to print an element of a list positioned at index a.