'''
Created on 03-Jun-2018

@author: Titan
'''

if __name__ == '__main__':
    pass
'''   
def Find_Loc(word, find):      
    loc = 0
    while word.find(find, loc) > 0:
        find_at = word.find(find, loc)
        print("{} at location {}".format(find, find_at))
        loc = find_at + 1

a = "This is sample string"  
Find_Loc(a, 'i')
'''
'''
a = (1,2,3,4,5)
z={}
for x,y in enumerate(a):
    z[x] = y

print(z)
'''












