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
katen-ka-za [31]
3 years ago
6

The top 3 most popular male names of 2017 are Oliver, Declan, and Henry according to babynames. Write a program that modifies th

e male_names set by removing a name and adding a different name. Sample output with inputs: 'Oliver' 'Atlas' { 'Atlas', 'Declan', 'Henry' } NOTE: Because sets are unordered, the order in which the names in male_names appear may differ from above.
Engineering
1 answer:
Flura [38]3 years ago
7 0

Answer:

The code is given below in Python with appropriate comments

Explanation:

# convert list to set

male_names = set(['Oliver','Declan','Henry'])

# get remove and add name from user

remove_name = input("Enter remove name: ")

add_name = input("Enter add name: ")

# remove name from set

male_names.remove(remove_name)

# add new name ij set

male_names.add(add_name)

# sort the set

a = sorted(male_names)

# print the set

print(a)

You might be interested in
Refer to Figure 9-18. A #_____ electrode lead and workpiece lead should be used to carry 150 amperes of electricity 75 feet to t
Anni [7]

Answer:

AC or

Explanation:

BC

8 0
2 years ago
When is a handrail required for stairs?
Leviafan [203]

Answer:

after 8 stepshddnffuddbnggkbdbkloyr

5 0
3 years ago
Describe the greatest power in design according to Aravena?
Ann [662]

Answer: Describe the greatest power in design according to Aravena? The subject of Aravena’s recent Futuna Lecture Series in New Zealand was ‘the power of design,’ which he described as ultimately being “the power of synthesis” because, increasingly, architects are dealing with complex issues and problems.

What are the three problems with global urbanization? 1. Degraded Environmental Quality ...

2. Overcrowding ...

3. Housing Problems ...

4. Unemployment ...

5. Development of Slums...

How could you use synthesis in your life to solve problems? Hence, synthesis is often not a one-time process of solution design but is used in combination with problem understanding and solution analysis to progress towards a more complete understanding of problems and solutions over time (see Applying the Systems Approach topic for a more complete discussion of the dynamics of this aspect of the approach).

I got all three answers

4 0
2 years ago
The 15-Mg tank car A and 25-Mg freight car B travel towards each other with the velocities shown. If the coefficient of restitut
irga5000 [103]

The speed of the car A is 6.05 m/s and  the speed of the car B just after the collision 7.65 m/s.

Ma=15 mg , Mb=25mg

Vai=5 m/s   vbi=7 m/s

We know coeffecient of restitution

e=|Vaf-Vbf/Vai-Cbi|

0.8=|Vaf-Vbf/5-7|

Vaf-Vbf=1.6

MaVa+mbVb=MaVaf+MbVbf

15*5*25*7=15Vaf+25Vbf

3Vaf+5Vbf=50

sovleving eq 1 and 2

Vbf =6.05 m/s

Vaf=7.65 m/s

The speed of a change in an object's location in any direction. The distance traveled divided by the time required to travel that distance is the definition of speed.Due to its lack of magnitude and merely having a direction, speed is a scalar number. The average speed of an object can be determined if you know the distance traveled and the time it took. Distance times speed is how speed is calculated.

Learn more about speed here:

brainly.com/question/28224010

#SPJ4

6 0
1 year ago
When driving during the daytime in reduced visibility, such as rain, smoke, or fog,
riadik2000 [5.3K]

Answer:A

Explanation:

3 0
3 years ago
Other questions:
  • Question 2 (Multiple Choice Worth 3 points)
    11·1 answer
  • The two pond system is fed by a stream with flow rate 1.0 MGD (million gallons per day) and BOD (nonconservative pollutant) conc
    15·1 answer
  • A police officer in a patrol car parked in a 70 km/h speed zone observes a passing automobile traveling at a slow, constant spee
    6·1 answer
  • PLLLLLEEESSSEEE IIII NEED ASAP
    12·2 answers
  • 1. Which of these materials is the strongest?
    12·1 answer
  • A heat pump with refrigerant-134a as the working uid is used to keep a space at 25C by absorbing heat from geothermal water that
    5·1 answer
  • Recall the steps of the engineering design process. Compare and contrast the
    9·1 answer
  • On diesel engines, data from ________ sensors are commonly used to adjust exhaust gas recirculation (EGR) rates.
    11·1 answer
  • I) A sag vertical curve is to be designed to join a 4% grade to a 2% grade. If the design
    6·1 answer
  • What is the purpose of placing a large electrolytic capacitor in the output side of a power supply
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!