"""
Created on 14/12/2019
@author: Sunny Raj
"""
"""
problem statement:
Write a Python program to slice a tuple.
"""
#initializing a tuple with different data types
my_tuple =(10,'sunny',22.3,True,1+3j,'h')

#Slicing the values from a tuple
#showing output
print(my_tuple[0:4])

print(my_tuple[::2])