Page 1 of 1

A list of book titles is given below according to order: 1) Computer Systems 2) Computer Architecture 3) Computer Engine

Posted: Fri Apr 29, 2022 6:38 am
by answerhappygod
A list of book titles is given below according to order:
1) Computer Systems
2) Computer Architecture 3) Computer Engineering
4) Computer Networking
5) Computer Software
6) Computer Hardware
Write a Python program that:
a) Create 2 group of lists, list1 consists of the titles 1-3 and
list2 consists of the titles 4-6. Show how each of the list is
built from an empty list. Print the output of the two lists.
b) Combine the two lists by adding list2 to list1. Print the
output.
c) Insert a new title 'Computer Programming' at index 4. Print
the output.
d) Remove and return the 4th item of the list. Print the updated
list. e) Remove and return the last item of the list. Print the
updated list.