• Python question of the day

    Which of the following is NOT a way to shallow copy a list?
     new_list = list(original_list)
     new_list = original_list[:]
     new_list = original_list.extend( )
     new_list = [index for index in original_list]
    Explanation:


    Top 100 python interview questions:






datai analytics