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.
A list of book titles is given below according to order: 1) Computer Systems 2) Computer Architecture 3) Computer Engine
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A list of book titles is given below according to order: 1) Computer Systems 2) Computer Architecture 3) Computer Engine
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!