Automate Cybersecurity Tasks with Python | Weekly challenge 3 Quiz |
A variable named my_list contains the list [1,2,3,4]. Which line of code removes the last element in the list?
- remove (my_list, 3)
- my_list.remove(4)
- remove(my_list, 4)
- my_list.remove(3)