'''
Created on Apr 19, 2020

@author: Bishwajit.
'''

print('ab cd ef'.title())

print("abcdef".find("cd"))

print("D", end=" ")
print("C", end=" ")
print("B", end=" ")
print("A", end=" ")

print("\n========")

example = "helle"
print(example.find("e"))

lst1 = [1, 2, 8, 7, 4, 223, 89]
print(max(lst1))

a = [1, 2, 3, [4, 5, 6], 7]
b, c, d, e, f = a
print(e)
