subject

a)Create a new list called numbers of 5 different integersb)Create a reference list called num and refer to the numbers list created above. Print the num listc)Change the value of any element in the numbers listd)Print the contents of the num list with an appropriate messagee)Create an actual copy of the number list, naming it test1 ,using the slice concept. Change the value of any element in the test1 listf)Print the contents of the number and test1 list with an appropriate message. g)Create another actual copy of the number list, and name it test2, but this time only copy the first 3 elements. h)Print the contents of the number, test1 and test2 list with an appropriate message. i)Demonstrate the use of the ‘in’ and ‘not in’ operators to display true or false if the element is available or not in the number list.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 2
question
Computers and Technology, 22.06.2019 02:50
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
question
Computers and Technology, 22.06.2019 04:00
Which spereadsheet type will determine how well a bussiness has done over the past year
Answers: 1
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
You know the right answer?
a)Create a new list called numbers of 5 different integersb)Create a reference list called num and r...
Questions
question
Mathematics, 26.10.2020 22:20
question
Mathematics, 26.10.2020 22:20
question
Mathematics, 26.10.2020 22:20
question
World Languages, 26.10.2020 22:20
question
Mathematics, 26.10.2020 22:20
question
Mathematics, 26.10.2020 22:20
Questions on the website: 13722367