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
Consider a N-channel enhancement MOSFET with VGS = 3V, Vt = 1 V, VDS = 10 V, and lambda =0 (channel length modulation parameter)
AveGali [126]

The current IDS is greater than 0 since the VGS has induced an inversion layer and the transistor is operating in the saturation region.

<u>Explanation:</u>

  • Since V_{ds} > V_{gs} - Vt because V_{gs} > Vt.
  • By the saturation region the MOSFET is operating.
  • A specific source voltage and gate of NMOS, the voltage get drained during the specific level, the drain voltage is rises beyond where there is no effect of current during saturated region.
  • MOSFET is a transistor which is a device of semiconductor vastly used for the electronic amplifying signals and switching in the devices of electronics.
  • The core of this is integrated circuit.
  • It is fabricated and designed in an individual chips due to tiny sizes.
7 0
3 years ago
How does the "E" in STEM work with the other letters
KIM [24]

Answer:

if you are speaking of the acronym then Engineering uses science and mathematics to solve everyday problems in society

4 0
4 years ago
Q7. A cylindrical rod of 1040 steel originally 15.2 mm (0.60 in.) in diameter is to be cold worked by drawing; the circular cros
umka2103 [35]

Answer:

11.2mm or 0.45in

Explanation:

The percent cold work, attendant tensile strength and ductility if drawing is carried out without interruption is given by the equation you will find in the attached file.

Please go through the attached file for a step by step solution to this question.

5 0
3 years ago
The role of civil and structural engineer is to produce buildings for
Alinara [238K]
So I’m thinking C because they both have a lot to do with design here is my evidence. Structural engineering is a component of civil engineering which focuses on the design and development of infrastructures such as bridges, skyscrapers, dams. Civil engineering is a professional engineering discipline that deals with the design, construction, and maintenance of the physical and naturally built environment. I may be wrong but hope this helped!
3 0
3 years ago
What is need for using fins?
antiseptic1488 [7]

Answer: It is a term of heat transfer process in which fins are surface that are the extension of the object to work for the heat exchangers to increase the heat exchanging rate.

 Explanation: Fins are considered to help the heat exchanger surface to lead the process of heat transfer by increasing the are of the surface which is exposed to the surroundings. Fins work really well with materials having high thermal conductivity and will  be more effective. They are preferred because they increase the rate of exchange of heat by increment in the convection.

7 0
3 years ago
Other questions:
  • An air compressor of mass 120 kg is mounted on an elastic foundation. It has been observed that, when a harmonic force of amplit
    13·1 answer
  • Nitrogen gas flows through a long, constant-diameter adiabatic pipe. It enters at 100 psia and 120°F and leaves at 50 psia and 7
    14·2 answers
  • Thermal energy storage systems commonly involve a packed bed of solid spheres, through which a hot gas flows if the system is be
    13·1 answer
  • Two variables, num_boys and num_girls, hold the number of boys and girls that have registered for an elementary school. The vari
    8·1 answer
  • Which of the following is not an example of heat generation? a)- Exothermic chemical reaction in a solid b)- Endothermic Chemica
    15·1 answer
  • Steam at 4 MPa and 350°C is expanded in an adiabatic turbine to 125kPa. What is the isentropic efficiency (percent) of this turb
    15·1 answer
  • Consider a simply supported rectangular beam with a span length of 10 ft, a width of 8 in, and an effective depth of 20 in. Norm
    8·1 answer
  • When the Moon is in the position shown, how would the Moon look to an observer on the North Pole?
    11·1 answer
  • calculate force and moment reactions at bolted base O of overhead traffic signal assembly. each traffic signal has a mass 36kg,
    6·1 answer
  • A. Briefly describe the microstructural difference between spheroidite and tempered martensite. Explain why tempered martensite
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!