text_plain_output_1.png
s = {('Hello', 'Hi', 'Howdy'), ('Salam', 'Namaste', 'Marhabaan')}
e3 = ('NiHao', 'Konnichiwa', 'Yeoboseyo')
s.add(e3)

my_list = list(s)
final = [my_list[i] for i in (0, -1)]
print(final)