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
balandron [24]
4 years ago
10

Write a function named starCounter that takes three parameters:1. a dictionary named starDictionary. Each key in starDictionary

is the name of a star (a string). Its value is a dictionary with two keys: the string 'distance' and the string 'type'. The value associated with key 'distance' is the distance from our solar system in light years. The value associated with key 'type' is a classification such as 'supergiant' or 'dwarf'.2. a number, maxDistance3. a string, classificationThe function starCounter should compute the number of stars in starDictionary that are within maxDistance of our solar system and are of type classification and return that number. Note that the word "within" means "inside"; as such, it would not be inclusive of the boundary.For example, the following would be correct input and output:starDictionary = {'Polaris': {'distance': 430, 'type': 'super giant'}, 'Alpha Centauri': {'distance': 4.37, 'type': 'spectral'}}print(starCounter(starDictionary, 10, 'spectral'))1
Computers and Technology
1 answer:
Rom4ik [11]4 years ago
7 0

Explanation: ik what it is but its no coming to my head sorry!

You might be interested in
Joe a frequent visitor to a branch office attempts to connect his tablet to the office wireless network but is unable to connect
suter [353]

Answer:

Airplane mode has been set on the tablet.

Explanation:

Joe a frequent visitor to a branch office attempts to connect his tablet to the office wireless network but is unable to connect to the internet even though he has verified that the SSID and password are correct. Joe attempts to connect to a coworker's hotspot but is still unable to connect to the internet.

This is because the Airplane mode has been set on the tablet.

5 0
4 years ago
You can choose which rules you want excel to use by enabling and disabling them in the ____ area in the excel options dialog box
vfiekz [6]
It is in the conditional formatting area that such changes are made.
4 0
3 years ago
A company has purchased a new SaaS application and is in the process of configuring it to meet the company's needs. The director
Dominik [7]

Answer:

The answers are letters A and C.

Explanation:

The security administrator should set up the LDAP and SAML configuration, because both of them provides authentication support as their central identity management solution for the company.

6 0
3 years ago
Fitbit is an example of....
strojnjashka [21]

Answer:

a monitor of ur heartbeat sleep breathing

Explanation:

3 0
4 years ago
Read 2 more answers
Select the correct answer. Why is it important to identify your audience while making a presentation? A. It helps you define the
Naddika [18.5K]

Answer:B

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • What possible reason would explain why you are unable to connect to the intranet site on your computer’s web server, using a bro
    13·1 answer
  • You can increase your efficiency by using your e-mail program's spell checker because it eliminates the need for you to proofrea
    11·1 answer
  • What are the advantages and disadvantages of it?
    14·1 answer
  • What do you call the combination of title, description, tags, and thumbnail?
    6·1 answer
  • What should you do to protect your copyright
    7·1 answer
  • Operational feasibility, which refers to user acceptance and support, as well as management acceptance and support, is also know
    9·1 answer
  • The first thing you must consider in any type of communication is ______.
    9·2 answers
  • Answer ASAP and I'll give brainliest.
    10·2 answers
  • Which of the following is NOT an example of one of the six primary ways businesses use the Internet?
    10·2 answers
  • SOMEONE HELP ME PLEASE <br> What are three reasons technology is beneficial to teens
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!