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
Programmers refer to a sequence of characters as a ____.
jekas [21]
In programming they know it as a String which is  a sequence of characters that are composed of literal constants or some kind of variables. A sting is any finite sequence of characters. every single string has its own lenght and this is one of the most important characteristics of them. Strings are essential to communicate information from the program to the user. 
5 0
3 years ago
The advantage of a digital camera in taking nighttime photographs is that you can see
stepan [7]

Answer:

Ima say true

Explanation:

7 0
3 years ago
Write a program that ask a user to input radius of a circle and display circumference of a circle
uranmaximum [27]

Answer:

Explanation:

8

4 0
3 years ago
1. What is a database?
DENIUS [597]

Answer:

<h2>1. In computing , a database is a organization collection of data </h2><h2>stored at accessed electronically from a computer system .</h2>

5 0
3 years ago
Which example is the best demonstration of initiative?
alisha [4.7K]

Answer: In this context, the best answer for the given questions would be (B) you offer to take on some extra work when a coworker is out sick.

Explanation: Initiative is pretty much defined as an action that is taken independently by someone. It could be said that one person with an initiative does not need someone else to tell him/her to do something.

4 0
4 years ago
Other questions:
  • How to change your phone number t mobile?
    5·1 answer
  • What is a common method for testing a spot weld?
    13·1 answer
  • A type of font that has a decorative tail is A.Serif font B. Sans serif font C. Bubbles font D. Reading font
    7·1 answer
  • This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balance
    7·1 answer
  • Which of the following modes of replication requires a very low latency network connection and ensures data remains in synch wit
    13·1 answer
  • Which option identifies the two natural wind patterns that move air masses in the United States?
    5·2 answers
  • H. What is recycle bin?<br>-&gt;​
    10·1 answer
  • java Two smallest numbers Write a program that reads a list of integers, and outputs the two smallest integers in the list, in a
    6·1 answer
  • Alguien me podria ayudar a hacer este codigo porfavor? en php Desarrolle el código que solicite los datos (desde teclado) Nombre
    10·1 answer
  • Radio spectrum is the part of the complete range of electromagnetic waves that is used for radio communication from
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!