Question

Initials: 10 Who next to the question number *** d. [20, 40, 60, 80, 100) 27. What is the output? new_list - (223, 645, 500,
0 0
Add a comment Improve this question Transcribed image text
Answer #1

27.
   b.
       [32, 245, 723, 1145, 645]

   Explanation:
       Pass #1:   [10, 22, 223, 500, 645]
       Pass #1:   [32, 22, 223, 500, 645]
       Pass #1:   [32, 245, 223, 500, 645]
       Pass #1:   [32, 245, 723, 500, 645]
       Pass #1:   [32, 245, 723, 1145, 645]


28.
   d.   avg = sum(new_list)/len(new_list)

   Explanation:
       The avg can be calculated by (sum of outcomes/ no. of outcomes)

29.
   c.   2

   Explanation:
       The my_dict contains only two objects one is of type string and second is another object of type dictionary.


30.
   b.   my_dict['State']['Temperature']

   Explanation:
       [] is used to access the values of the dictionaries, by passing the appropriate key values.

Add a comment
Know the answer?
Add Answer to:
Initials: 10 Who next to the question number *** d. [20, 40, 60, 80, 100) 27....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
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
ADVERTISEMENT