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
AysviL [449]
4 years ago
10

One thing we might want to know, given an input to a chatbot, is if the input is a question.

Computers and Technology
1 answer:
3241004551 [841]4 years ago
5 0

Answer:

Following are the code to this question:

def is_question(input_string): # defining method is_question  

   output = '?' in input_string # checking question mark symbol in value

   return output #return value

input_string = input('Enter any string value: ') # defining variable input_string to input value

print (is_question(input_string)) # call method and print return value

Output:

Enter any string value: what is your name?

True

Explanation:

In the given python program code, a method "is_question" is declared, which accepts an "input_string" value in its parameter.

  • Inside the method, an output variable is used, that search question symbol in the parameter value and return its value.
  • In the next step, the input_string variable is declared, which uses the input method to accepts string value and passes into method calling time and print its return value.
You might be interested in
What will be the output of “AAAAMMMMMHHHVV” using a file compression technique?
jeka94

Answer:

it would be amhv i think i hope it answered u'er question

Explanation:

8 0
4 years ago
Which of the following is a goal of summarizing? to quote the main idea of what you have read, giving credit to the original sou
Tanya [424]
<span>to review the most important supporting points from the original information I believe is the answer

</span>
7 0
3 years ago
A T-1 system multiplexes ___ into each frame
zimovet [89]

Answer:

PCM encoded samples from 24 voice band channels

Explanation:

The Multiplexer from a lot of inputs generates one single output. And it is the select line that determines which of the input is going to influence output. And the select lines determine the increase in the quantity of data that can be sent through the network in a given amount of time. And this is termed as a data selector. Please note, this is application of multiplexer in data transmission.

And now coming to the T1 carrier system, it is a time division multiplexor, which multiplexes the PCM encoded samples coming from 24 band channels that require to be transmitted over an optical fiber or single metallic wire pair. And for this question, we need what is being multiplexed, and that is as mentioned in the Answer section.

4 0
3 years ago
Your office printer was working earlier in the day but is no longer printing any documents. Pre-existing workstations are manual
VARVARA [1.3K]

Answer:

I think it is either A or B

Explanation:

3 0
3 years ago
_______ are malicious programs that come into a computer system disguised as something else such as a free computer game or scre
Lady_Fox [76]

Answer:

Trojan horses

Explanation:

4 0
3 years ago
Other questions:
  • Read the following job advertisement carefully: • Ensuring that our customers have a satisfying experience that will keep them c
    8·2 answers
  • Use-Cases are scenarios that describe
    9·1 answer
  • How to find the biggest files on your computer?
    10·1 answer
  • Suppose your friend, who is a small business owner, wants to computerize her business functions such as accounting, payroll, and
    7·1 answer
  • Presentation guidelines state that slides should have no more than bullet points.
    9·2 answers
  • For window 7 explain the steps you will use to find the available program you will list.
    13·1 answer
  • Write a program that reads a stream of integers from a file and writes only the positive numbers to a second file. The user shou
    5·1 answer
  • You may see the term FAQ on websites which stands for Frequently Asked Questions this is an example of which type of mnemonic?
    9·1 answer
  • Select all that apply. To assist in document sharing, you should?
    12·2 answers
  • The major difference between a calculator and a computer, when performing calculations, is that a
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!