A) Create a new list called numbers of 5 different integersb) Create a reference list called num and refer to the numbers list
4 answers
Question:
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
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
Answers
the answer is d. splog
Ithink it's a) the user may use the song without the permission of the creator but only in certain circumstances
b. xor is the correct answer
Delete your historyhope this
Similar Solved Works
9 answers
John rolfe and john smith were associated with the colony of:
John rolfe and john smith were associated with the colony of:...
7 answers
The descriptions below explain two ways that water is used by plants on a sunny day. i. in a process called transpiration,
The descriptions below explain two ways that water is used by plants on a sunny day. i. in a process called transpiration, some liquid water in leaves changes to water vapor. the water vapor is released into the air through tiny pores in the leaves. this allows more liquid water from the soil to be ...
7 answers
The standard form of the equation for a quadratic function is, with he vertex of the graph of the function
The standard form of the equation for a quadratic function is, with he vertex of the graph of the function at the point (p, q). the factored form is y=a(x-x1) (x-x2), where x1 and x2 are the x-intercepts of the graph. Express p and q in terms of x1 and x2 by expanding the factored for then completin...
5 answers
Kelsey painted one fourth of her bedroom in three seventh of an hour. at this rate, how
Kelsey painted one fourth of her bedroom in three seventh of an hour. at this rate, how long would it take her to paint the entire room? three over twenty eight hour twenty eight over three hours twelve over seven hours seven over twelve hour...
4 answers
The KKK was created by six former Confederate officers from Tennessee. a group of police officers from Atlanta. former Union
The KKK was created by six former Confederate officers from Tennessee. a group of police officers from Atlanta. former Union officers from Kentucky....
4 answers
A particle rotates in a circle with centripetal acceleration a = 8.0 m/s2 . What is a if the radius is doubled without changing the
A particle rotates in a circle with centripetal acceleration a = 8.0 m/s2 . What is a if the radius is doubled without changing the particle's speed? What is a if the speed is doubled without changing the circle's radius?...
4 answers
Brianne purchased a box with an interior diagonal length that is 45 centimeters long. what are two possible pairs of dimensions
brianne purchased a box with an interior diagonal length that is 45 centimeters long. what are two possible pairs of dimensions for the length and width of the box? round to nearest tenth...
4 answers
What is the logical conclusion if teenage employment is declining but the share of NEETS is remaining steady?
What is the logical conclusion if teenage employment is declining but the share of NEETS is remaining steady?...
4 answers
Simplify (5 (to the power of 3) x 5(power of 5) )another power of 5simplify (53x55)5options5 to the 40th power5 to the 20th5 to the 75th power5
Simplify (5 (to the power of 3) x 5(power of 5) )another power of 5 simplify (53x55)5 options 5 to the 40th power 5 to the 20th 5 to the 75th power 5 to the 13th power...
3 answers
I need help on it pls pls
I need help on it pls pls [tex]I need help on it pls pls [/tex]...
4 answers
Where was the best part of book and why? from sleepover club
Where was the best part of book and why? from sleepover club...
4 answers
Before you record your instructions, write them down. As you're drafting your instructions, be sure tocheck your diction and provide
Before you record your instructions, write them down. As you're drafting your instructions, be sure to check your diction and provide explanations for any steps that need further clarification. Use this instructions checklist to guide you in this task....
4 answers
Enable them to be like flowers, always watered, fed, watched over, and admired, but bound to a pot of soil.Our greatest fear isn't that
Enable them to be like flowers, always watered, fed, watched over, and admired, but bound to a pot of soil. Our greatest fear isn't that we're insufficient. Our greatest fear is that we are incredibly strong. Our sun, not our darkness, is what scares us the most. Can some one create a good title fo...
4 answers
B) Write down the formula to find the perimeter of a circle.
B) Write down the formula to find the perimeter of a circle....
4 answers
Use a power series to approximate the definite integral, I, to six decimal places.Integar 0.3 0 x4 1 + x6 dx
Use a power series to approximate the definite integral, I, to six decimal places. Integar 0.3 0 x4 1 + x6 dx...
3 answers
The product of 10 and a number is greater than the difference of four times the number and two
The product of 10 and a number is greater than the difference of four times the number and two...
3 answers
Flying against the jetstream, a jet travels 7380 miles in 9 hours. flying with the jetstream, the same
Flying against the jetstream, a jet travels 7380 miles in 9 hours. flying with the jetstream, the same jet travels 9920 miles in 8 hours. what is the rate of the jet in still air and what is the rate of the jetstream?...