Question: use python please a Activity 2a: Create two lists: one list named cities with five cities, and another list for animals with three animals -
a Activity 2a: Create two lists: one list named cities with five cities, and another list for animals with three animals - Print the 3rd animal from list animals using positive index. From list cities, print 2nd the second to the 4th city using negative index (range of indexes) Concatenate cities and animals into a new list named new List! Print newList] Ask the user to pick an iten from list newList), remove the item from list newListland print result Sort newListl and print result Create a newList2 with a double of items in list animals and print result Reverse newList2 print result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
