Python does not support a character type; these are treated as strings of length one, thos also considered a substring.
To access substrings, use the square brackets for slicing along with the index or indices to obtain your substring.
var1= "Hello World"
print ("var1:", var1)
When the above code is executed, it produces:
Gilberto Rogel García
For more info visit:This link