'''
Created on Apr 26, 2018

@author: berag
'''

if __name__ == '__main__':
    pass

'''
SyntaxError -> print("Hello)
TypeError -> print("Hello"+5)
IndexError -> print("Hello"[8])

'''
'''
print("Hello"[4])
str = "Hello"
print(str[:4]+str[4:]) # print same str

print("Hello"[:-1])
print("Hello"[-1:])
'''
s = "string sample" #Return 0
print(s.find(s))
print('s'.find('s'))
print(s.find(''))
print(s.find(s + '!!!!!!')+1)



































