1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Eva8 [605]
3 years ago
6

Create a function printInfo(some_dict) that given a dictionary whose values are all lists, prints the name of each key along wit

h the size of its list, and then prints the associated values within each key's list.
Computers and Technology
1 answer:
aleksandrvk [35]3 years ago
7 0

Answer:

def printInfo(some_dict):

   print(len(some_dict['locations']), "LOCATIONS")

   for location in some_dict['locations']:

       print(location)

   print()

   print(len(some_dict['instructors']), "INSTRUCTORS")

   for location in some_dict['instructors']:

       print(location)

seattle = {

   'locations': ['San Jose', 'Seattle', 'Dallas', 'Chicago', 'Tulsa', 'DC', 'Burbank'],

   'instructors': ['Michael', 'Amy', 'Eduardo', 'Josh', 'Graham', 'Patrick', 'Minh', 'Devon']

}

printInfo(seattle)

Explanation:

You might be interested in
What is the function of a slide transition in a presentation program? A. It enables you to change the presentation layouts. B. I
Allushta [10]

I believe you answer is going to be A.

5 0
3 years ago
Marly is using her smartphone to review a webpage that she created. The formatting and alignment of webpage elements is incorrec
Margaret [11]

Answer:

She needs a responsive design

Explanation:

The website needs to detect what kind of device the user is using. It could be by the window size (not very accurate), or a piece of code to figure out the device being used. Once it knows what device is being used, and the size of the page, it should change its layout to fit the design.

3 0
3 years ago
Which of the following is not a type of Internet Job Board? Options Resume Blaster Professional Association Target Applicants We
mr Goodwill [35]
The answer is : Weighted application blanks

Job board is a type of system in which the employers set up a list of requirements for the job hunter

Weighted Application blanks is used to to collect background information from the job applicants, which is not a part of job board
6 0
3 years ago
Suzy lives alone I. New York where her family lives In Florida
ankoles [38]

Answer:

bro what

Explanation:

3 0
3 years ago
Read 2 more answers
What do want in future (computer enginner )<br>​
Debora [2.8K]
I wish to be a professor or maybe a singer/rapper and if they fail, then I wanna be a model

✨hope this helps✨

✨SammySilkWorm waz here✨

Here is my modeling shot

6 0
3 years ago
Read 2 more answers
Other questions:
  • 3. By eliminating data redundancy, you're enforcing data A. validation. B. integrity. C. consistency. D. accuracy.
    14·2 answers
  • With iteration-control systems, each team member ________. is given an account with a set of permissions is given their own priv
    6·1 answer
  • One of your primary business objectives is being able to trust the data stored in your application. You want to log all changes
    10·1 answer
  • Explain the use of cache memory and the role it plays in improving processing speeds. Plz
    15·2 answers
  • In order to create strong neural networks (connections) in your brain, you've got to __________ the learning process.
    14·1 answer
  • Which is true about POP3 and IMAP for incoming email?
    14·1 answer
  • Define a function called strip_punctuation which takes one parameter, a string which represents a word, and removes characters c
    9·1 answer
  • A celebrity blogger you have followed for years advises readers to try a new beauty product. Before purchasing the product, a sa
    10·1 answer
  • Part1) Given 3 integers, output their average and their product, using integer arithmetic.
    12·1 answer
  • Display all the lines in unixPasswd that contain at least 10 consecutive lowercase letters. How many names are there in total th
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!