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
Blizzard [7]
3 years ago
9

Assume the names variable references a list of strings. Write code that determines whether 'Ruby' is in the names list. If it is

, display the message 'Hello Ruby'. Otherwise, display the message 'No Ruby'. starting out with python
Computers and Technology
1 answer:
inn [45]3 years ago
3 0

names = []

if "Ruby" in names:

   print("Hello Ruby")

else:

   print("No Ruby")

Just populate the names variable with whatever strings you want.

You might be interested in
A string that contains only 0s,1s, and 2s is called a ternary string. How many strings of 10 ternary digits (0, 1, or 2) are the
alexdok [17]

Answer:

Number of strings = (10, 2)×(8,3) = 2520

Explanation:

The number of possible combinations for taking two 0's is C(10, 2)

It remains 8 Positions

The number of possible combinations for taking three 1's is C(8,3)

So there remains 5 spots

8 0
4 years ago
Read 2 more answers
A question to determine your ability to use the reference materials effectively. Your boss has determined that you will be using
Ymorist [56]

Answer:

The answer is "implement on group 2 and group 3".

Explanation:

In the given scenario, When technology workers are using in the project teams. People like to be stable, and we can't allow wireless network transmission to maintain their security and privacy. When we considering category 1 being the only ones who have links to a higher authority, that's why Group 2 and Group 3 were needing to be implemented.

3 0
3 years ago
Pomelo and Calamansi Trees are type of plants that suitable in this method.A. Cleft-Grafting B. Marcotting C. Layering D. T-Budd
Olegator [25]
Pomelo and Calamansi Trees are type of plants that suitable in this method.A. Cleft-Grafting
8 0
3 years ago
COMO DEFINES LAS PALABRAS COMPUTADOR Y DISPOSITIVO? MENCIONA EJEMPLOS
Basile [38]

Explanation:

es una máquina digital programable que ejecuta una serie de comandos para procesar los datos de entrada, obteniendo convenientemente información que posteriormente se envía a las unidades de salida. Una computadora está formada físicamente por numerosos circuitos integrados y varios componentes de apoyo, extensión y accesorios, que en conjunto pueden ejecutar tareas diversas con suma rapidez y bajo el control de un programa (software).

3 0
3 years ago
Technician A says that the purpose of the electrolyte is to allow the escape of hydrogen gas from the battery. Technician B says
kifflom [539]

Answer:

D. Neither Technician A nor B.

Explanation:

D. Neither Technician A nor B.

The electrolyte is a chemical medium that allows the flow of electrical charge between the cathode and anode. When a device is connected to a battery — a light bulb or an electric circuit — chemical reactions occur on the electrodes that create a flow of electrical energy to the device.  

7 0
4 years ago
Other questions:
  • Tom's using Google Ads to promote his bicycle store. He's created an Android App and needs to measure how effectively the curren
    14·1 answer
  • What is the faster way for browsers to obtain the revocation status of a digital certificate attached to a Web site?
    8·1 answer
  • A client accessing a network share folder has authenticated into the system and has full access rights to a folder share. But af
    11·1 answer
  • Create a program that reads words.txt (link near top of our home page) in order to: determine the length of the longest word(s)
    14·1 answer
  • Read the paragraph.
    12·2 answers
  • Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an in
    13·2 answers
  • Select the correct answer.
    7·2 answers
  • __________ are hosted on dedicated computers known as 'web servers'.​
    8·2 answers
  • What can I do If my Texas Instrument TI-84 calculator is not giving accurate answers?
    6·1 answer
  • Creating a wedding website on the knot- how to make the text wide
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!