Anjeun tiasa nganggo fungsi peta babarengan sareng fungsi lambda sapertos kieu: ```python my_list = [1, 2, 3, 4, 5] my_list_doubled = list(map( lambda x : x * 2, my_list)) ``` Salaku alternatif anjeun tiasa nganggo for-loop sapertos kieu: ```python my_list = [1, 2, 3, 4, 5] pikeun i dina kisaran( len(my_list)): my_list[i] = my_list[i]*2 ``` Note yén pendekatan kahiji nyiptakeun daptar anyar sareng anu kadua mutasi anu lami.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence