cara mengganti elemen daftar menggunakan pemahaman daftar
new_list = ["A" if element == "a" else element for element in a_list]
PerkyKing02
new_list = ["A" if element == "a" else element for element in a_list]