'''
s = 'Welcome to Python'
data = 'From stephen.marquard@uct.ac.za Sat Jan  5 09:14:16 2008'
pos = data.find('.')
print(data[pos:pos+3])


print(s[0])
print(s[3:7])
print(s[11:])
print(s[-1]) # return the last char of the string
print(s[::-1]) # this line will reverse the string and return it.
'''

my_List = [0,1,2,3,4,5,6,7,8,9]

print(my_List[3:8])
print(my_List[-3:-5:-1])