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
Ray Of Light [21]
3 years ago
10

g Write a program that reads a list of words, and a character. The output of the program is every word in the list of words that

contains the character at least once. For coding simplicity, follow each output word by a comma, even the last one. Assume at least one word in the list will contain the given character. The number of input words is always less than and equal to 10. If the user enters more than 10 words before the character, the program will output Too many words and exit.
Computers and Technology
1 answer:
lord [1]3 years ago
4 0

Answer:

Here you go, alter this as you see fit :)

Explanation:

array = []

cnt = 0

while cnt < 11:

   x = input("Enter a word: ")

   array.append(x)

   cnt += 1

   y = input("Add another word?(Y/n):  ")

   if y.lower() == "n":

       break

letter = input("\nChoose a letter: ")

if len(letter) != 1:

   print("Error: too many characters")

   quit()

for n in range(len(array)):

   if letter.lower() in array[n].lower():

       print(array[n], end= ",")

You might be interested in
What precautions should be taken to make a computer more secure ​
Sergeeva-Olga [200]

Answer:

To make a computer more secure

Explanation:

we have following ways :

1)we should have anti virus to protect our computer.

2)we should not play or look computer for a long time because it destroy our files

4 0
3 years ago
Why does the phrase "compatibility mode” appear when opening a workbook?
nlexa [21]

Answer: 2. A version older than Excel 2016 was used to create the workbook .

Explanation: The compatibility mode appears whenever a workbook initially prepared using an excel software version which is older than the excel software which is used in opening the file or workbook. The compatibility mode is displayed due to the difference in software version where the original version used in preparing the workbook is older than the version used in opening the workbook. With compatibility mode displayed, new features won't be applied on the document.

7 0
3 years ago
Read 2 more answers
For any element in keysList with a value smaller than 40, print the corresponding value in itemsList, followed by a comma (no sp
givi [52]

Answer:

u look se33y yessir

Explanation:

......................................

7 0
3 years ago
Which open-sourced packet capture tool uses linux and mac os x operating systems?
Leto [7]

Tcpdump is an open-sourced packet capture tool which uses Linux and Mac OS X operating systems.

<h3>What is tcpdump?</h3>

Tcpdump can be defined as an open-sourced packet capture tool that is typically used to monitor and record TCP/IP traffic that are passing through a network and most Unix-like operating systems such as Linux.

This ultimately implies that, tcpdump is an open-sourced packet capture tool which makes use of Linux and Mac OS X operating systems.

Read more on tcpdump here: brainly.com/question/14485515

#SPJ12

5 0
2 years ago
When you evaluate the use of digital media, how has it affected the newspaper business? The rise of digital media has caused new
Harrizon [31]

Answer:

The rise of digital media has caused newspaper subscriptions to decline significantly because people are finding their news online.

It is A

3 0
3 years ago
Other questions:
  • Rina has misspelled a word many times in her document. Which is the fastest way she can correct the mistake?
    11·1 answer
  • Which visual aid would help a group of veterinary students study a dog's anatomy?
    14·1 answer
  • What is the best strategy to avoid paying interest on your credit card
    8·1 answer
  • What type of data would a RDBMS store in a linked list, two-way linked list, or B-trees? What are the advantages and disadvantag
    5·1 answer
  • Plz help
    8·1 answer
  • Susan uploads her newly created files on the web server using FTP. What should she ensure while uploading to prevent other users
    9·2 answers
  • Joe a frequent visitor to a branch office attempts to connect his tablet to the office wireless network but is unable to connect
    14·1 answer
  • Type the correct answer in each box. Spell all words correctly.
    12·1 answer
  • A proposal is also known as a
    14·2 answers
  • Write a for loop that displays the following numbers exactly like this (you must use a loop):
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!