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
jek_recluse [69]
3 years ago
13

Write a program that removes all non-alpha characters from the given input. Ex: If the input is: -Hello, 1 world$! the output is

: Helloworld
Also, this needs to be answered by 11:59 tonight.
Computers and Technology
1 answer:
Nuetrik [128]3 years ago
3 0

Answer:

Explanation:

The following code is written in Python. It is a function that takes in a string as a parameter, loops through the string and checks if each character is an alpha char. If it is, then it adds it to an output variable and when it is done looping it prints the output variable. A test case has been provided and the output can be seen in the attached image below.

def checkLetters(str):

   output = ''

   for char in str:

       if char.isalpha() == True:

           output += char

   return output

You might be interested in
Which view shows how the document will look when printed?
DIA [1.3K]
Please provide photos for your question.
7 0
4 years ago
Life Decisions Cyber Cafe is a cafe with free Internet service and computers that are linked to various online career opportunit
djverab [1.8K]

Answer:

The correct answer is d) all of the above

Explanation:

The size of the info is necessary to give the users heads up about the amount of data needed to access it, the type of the video is also important so the user can know the environment appropriate for viewing it and also tips for viewing will help users know the requirements needed to view it.

4 0
3 years ago
What option in the zone aging/scavenging properties dialog box will prevent dns record time stamps from being updated too often?
professor190 [17]

Answer:

The statement is true

Explanation:

5 0
1 year ago
Read 2 more answers
Select the correct answer.
DochEvi [55]

Answer:

ask customers to use strong passwords to protect their accounts

6 0
3 years ago
Read 2 more answers
What is the correct terminology for a group of infected computers controlled by a person to commit cyber-crime?
Pavel [41]
I believe it’s called a virus or a hacker
5 0
3 years ago
Other questions:
  • A(n) __________________ device is a breath analyzer on your vehicle that is electronically connected to the ignition.
    11·1 answer
  • What are the texture of metamorphic​
    12·1 answer
  • What is 1 and 3/4 in grams?
    13·2 answers
  • Does anyone know in adobe photoshop , digital design class , how to make a smart object and copy it to another page!
    6·1 answer
  • If you have created a document that contains a table that is 10 inches wide and 4 inches high, you will want to print the docume
    6·2 answers
  • As a digital investigator for your local sheriff’s department, you have been asked to go with a detective to a local school that
    13·1 answer
  • The ________ utility automatically creates duplicates of your libraries, desktops, contacts, and favorites to another storage lo
    6·1 answer
  • What can be changed when a style is modified?
    5·2 answers
  • Enlist the advantages of data consolidation in a spreadsheet
    10·1 answer
  • When conducting memory and recall tests, some people make an effort to normalize memories by not reporting extreme cases. this l
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!