Answer:
The program is as follows:
my_tuple = (1,2,3,4,5)
print(my_tuple)
mylist = list(my_tuple)
mylist.append(6)
my_tuple = tuple(mylist)
print(my_tuple)
Explanation:
This defines a tuple of 5 integers
my_tuple = (1,2,3,4,5)
This prints the tuple
print(my_tuple)
To add new element to the tuple; First, we convert it to list. This is done below
mylist = list(my_tuple)
Then, an item is appended to the list
mylist.append(6)
The list is then converted to tuple
my_tuple = tuple(mylist)
This prints the tuple
print(my_tuple)