print data and position of element in list python code example
Example: get value from index python
# To get value from index in a list:
x = ["Foo", "Bar", "Roblox"]
print(x[0]) # Output: Foo
# To get value from index in a list:
x = ["Foo", "Bar", "Roblox"]
print(x[0]) # Output: Foo