def negativeindex():
    # Negative indexing for accessing tuple elements
    my_tuple = ('p', 'e', 'r', 'm', 'i', 't')
    print (my_tuple)

    # Output: 't'
    print("index -1 : ",my_tuple[-1])

    # Output: 'p'
    print("index -6 : ",my_tuple[-6])

negativeindex()
