In [18]: s = ('Name1', 'Surname1', 1, 'god', 1, 0)
In [19]: s[0]
Out[19]: 'Name1'
In [20]: print(s[0])
Name1
s[0]
is a string and as such is represented with the surrounding quotes. If you simply wanted to see it on screen without quotes, then you could print it, as shown in line 20 of my code.
On the other hand, if you have a variable named Name1
somewhere else in your code, and you are trying to display its value by calling s[0]
, you might need to store a map of variable names and values in a dictionary (or use locals()
or globals()
)