parrot = "Shivanand"
print(parrot[0:6])
print(parrot[3:6])
print(parrot[:9])
print(parrot[5:])
print(parrot[:5] + parrot[5:])
print(parrot[:])

# ===================
print("Slicing with negative no.")
print(parrot[-4:4])
print(parrot[-4:-1])

# =================
print("Slicing with using step")

print(parrot[0:7:2])
print(parrot[1::3])

# ====================
new_str = "1,2,3,4,5:5,6;7,7:8:3:4;i'"
print(new_str[1::2])

# ==================


