inp_list=['1','2','3','4','5','a'] print("Original list:",inp_list) print("After removing bracket:") for out_list in inp_list: print(out_list,end=',') print(" ")