Question

Assume the following variable is declared: movie = Monty Python and the Holy Grail What is the result of the following expressions? movie [ 1 ] movie [-2] movie[-10:] movie[4:7] ● . Assume the following variable is declared: list = [36, Madison, Ave] What is the result of the following expressions? . listl0] , listl-2] . Ave in list 36 in list Please explain every answers and tell the difference between both.
0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Please explain every answers and tell the difference between both. Assume the following variable is declared:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • please explain the difference between right and left skewed graphs, how you can tell from this...

    please explain the difference between right and left skewed graphs, how you can tell from this graph, and additionally how to calculate a percentile range for part b A middle-school teacher teaches a class of 36 pupils. She decides to plot a histogram of her students' weight (shown below) 2. 16 14 t 12 10 6 4 2 0.5 35.5 40.5 45.5 50.5 55.5 60.5 65.5 Weights (in kg)> a. (2 points) What is the skew of the weight distribution?...

  • Explain the difference between variable costing and absorption costing income statements. Provide income statements in both...

    Explain the difference between variable costing and absorption costing income statements. Provide income statements in both variable costing and absorption costing formats for an initial period and its successive period in a case where all manufactured products within the two periods are sold by the end of the second period, but number of units sold in the first period is less than the number of units manufactured in this period. What is the interesting observation in comparing the two types...

  • Provide written answers and diagrams for two of the questions below. 1. Sketch and explain the...

    Provide written answers and diagrams for two of the questions below. 1. Sketch and explain the sedimentary cycle. What processes are at work in each stage? 2: On the back side of this page. draw pictures of the following sedimentary features and explain how they form: ripple marks cross beds mudcracks graded beds 3. Define clastic and chemical sedimentary rocks and tell how the two groups differ. How do the two types of weathering (physical and chemical) relate to how...

  • Please tell me whether my answers are correct or not. If not please tell me why...

    Please tell me whether my answers are correct or not. If not please tell me why and give me a guide to solving the problem correctly. Thanks! 3 Check Digits: ISBN In this problem, we'll look at a real-world applications of check-digits International Standard Book Numbers (ISBNS) are 10-digit codes (did2...dio) which are assigned by the publisher. These 10 digits contain information about the language, the publisher, and the number assigned to the book by the publisher. Additionally, the last...

  • Please try to explain the answers as well. It will be highly appreciated. Output of the...

    Please try to explain the answers as well. It will be highly appreciated. Output of the following expression: 5 * 4 % 2 = ? Output of a loop: Example: What will be the output of the Java code (Assume all variables are properly declared.) num = 10; while (num <= 32)                 num = num + 5; System.out.println(num); What will be the output of the Java code (Assume all variables are properly declared.) public class test {   ...

  • PLEASE NOTICE THAT ANSWERS ARE ALREADY NOTED. PLEASE EXPLAIN HOW TO CALCULATE THE ANSWERS. inrBa flinds that on Fridays 27 ustomers arrive every 15 miutes at the inside Assume M/Mk lobby. Am average...

    PLEASE NOTICE THAT ANSWERS ARE ALREADY NOTED. PLEASE EXPLAIN HOW TO CALCULATE THE ANSWERS. inrBa flinds that on Fridays 27 ustomers arrive every 15 miutes at the inside Assume M/Mk lobby. Am average teller is able to complete 30 transactions per hour. operating characteristics 27 on か 7b wants customers to wait less than two mintes to be served. What is the Assume Frost regquired umber of tellers to inet tseriee What is the probability that the systiem is idle...

  • 1. Explain the difference between the /etc/profile and the ~/.bash_profile file. Which one is executed first?...

    1. Explain the difference between the /etc/profile and the ~/.bash_profile file. Which one is executed first? 2. Edit your .bash_profile file as follows: 1. Welcome the user 2. Add your home directory to the path if it is not there 3. Set erase to the Backspace key using stty. 4. Type source .bash_profile. What is the function of the source command? 3. What is the default primary prompt? 1. Change the prompt to include the time of day and your...

  • PLEASE HELP WITH ALL QUESTIONS QUESTION 1 Distinguish or explain the difference between the following: 1.1...

    PLEASE HELP WITH ALL QUESTIONS QUESTION 1 Distinguish or explain the difference between the following: 1.1 Primary and secondary growth 1.2 Heartwood and sapwood 1.3 Simple and multiple fruits 1.4 Bottleneck effect and genetic effect QUESTION 2 2.1 Distinguish between annual, biennial and perennial plants. 2.2 Provide THREE examples of ways that humans use roots. 2.3 Is the following structures a root, stem or leaf and what is its function? a. Haustoria b. Rhizome c. Stipule spine (3 x 2...

  • please explain your answer and draw graph. Also label the answers thoroughly. Answer both for thumbs up:)) m2 6 Fig awre . 2. The magnitude of the force of attraction between the positively charged p...

    please explain your answer and draw graph. Also label the answers thoroughly. Answer both for thumbs up:)) m2 6 Fig awre . 2. The magnitude of the force of attraction between the positively charged proton and the negatively charged electron in a Hydrogen aton is given by f(r) = ke2/r2 where e is the charge on the proton, k is Coulomb's constant, and r is the distance between the proton and the electron. Assume that the protorn can't move. The...

  • Question 3 Run the following code and explain, using your own words, what is happening with...

    Question 3 Run the following code and explain, using your own words, what is happening with each variable (w,x,y,z) and what is the difference between ++x and w++ (is there any influence on the result between prefix or postfix ++ operator?). Provide a snippet of the output showing the result. int main() { int w = 20, x = 20; int y = 5, z = 5; y = y + (++x); z = z + (w++); cout << "x="...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT