subject

A) Create a new list called numbers of 5 different integers b) Create a reference list called num and refer to the numbers list created above. Print the num list
c) Change the value of any element in the numbers list
d) Print the contents of the num list with an appropriate message
e) Create an actual copy of the number list, naming it test1 ,using the slice concept. Change the value of any element in the test1 list
f) 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.
j) Save the file as PC15.py and upload the file as directed by your teacher

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:10
Is the following an example of social media viral marketing? indicate your response by selecting yes or no. when you sign onto your favorite social networking website, you get messages from friends who have seen a television show they thought was a "must see! "
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind? jean has limited the content of her website to what is important; this ensures (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring (balance, simplicity, consistency)
Answers: 2
question
Computers and Technology, 24.06.2019 17:00
The length of time that a slide appears before automatically advancing to the next slide can be set in the timing group under the transitions tab. transition to this slide group under the transitions tab. timing group in the master slide view. transition to this slide group in the master slide view.
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Anew author is in the process of negotiating a contract for a new romance novel. the publisher is offering three options. in the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. in the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. in the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. the author has some idea about the number of copies that will be sold and would like to have an estimate of the royal- ties generated under each option. write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. the program then outputs he royalties under each option and the best option the author could choose. (use appropriate named constants to store the special values such as royalty rates and fixed royalties.
Answers: 1
You know the right answer?
A) Create a new list called numbers of 5 different integers b) Create a reference list called num...
Questions
question
Mathematics, 21.06.2019 20:00
question
Spanish, 21.06.2019 20:00
question
Spanish, 21.06.2019 20:00
Questions on the website: 13722359