The list are below
second_list = ['C']
first_list = ['A', 'B']
third_list = ["D"]
Expected out is below
the firstlist is A,B the second_list is C and thirdlist is D
psudo code
print (f'the firstlist is {j for j in first_list } the second_list is {for j for j in second_list} and thirdlist is {for j for j in third_list')