answer.
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
uranmaximum [27]
1 year ago
11

Edhesive Assignment 3: Chatbot on Python

Computers and Technology
2 answers:
slavikrds [6]1 year ago
7 0

Example script in creating a chatbot in Python

--------------------------------------------------------------------------

@ app.route ("/", methods = ['GET'])

def index ():

   index = "Welcome to KPM - Making ChatBot"

   return index

if __name __ == "__ main__":

   try:

       app.run (** config)

   except ImportError:

       print ("install: pip install -i requirements.txt")

--------------------------------------------------------------------------

<h2>Further explanation </h2>

Chatbot is computer software that is designed or created to be able to interact with humans in the form of messages, sounds, and images.

Chatbot is a chat service that is actually a feature that has been used very often by tech-savvy people. But the difference, who replied in the chat process is a robot or virtual figure. This is indeed according to its name which contains the word "bot" which is short for internet robots.

There are several advantages that can be provided by chatbot for you:

  • Faster in interacting with consumers. When consumers want to ask something through the website, then this robot can answer questions posed quickly without wordy.
  • 24 hours. If using humans in customer service matters like this, sometimes there are obstacles that can be obtained along with the operation, especially working hours.
  • Ease of business. The advantages of chatbots are also certainly felt by business people. With robot technology, then customer service matters become easy.

Not only are the advantages possessed by chatbots, deficiencies also certainly exist such as:

  • Turn off the role of customer service. Employment that is usually done by humans will certainly die slowly when technology begins to enter. Which is usually filled by humans, now filled by robots.
  • Cannot answer all complaints. In running a business, there must be problems that afflict consumers and hold them accountable.

Learn more

Programming Language brainly.com/question/3354080

The method of programming brainly.com/question/9409412

Details

Class: Middle School

Subjects: Computers and Technology

Keywords: chatbot, python, programming

marta [7]1 year ago
4 0

Answer:

Explanation:

Easy peasy lemon squeezy

print: ("hey how are you why are you what are you")

print: ("1,2,3:"):

eif: ("1"):

print: ("nothing")

eif: ("2"):

print: ("Well i am doing this")

eif: ("3):

print: ("watched pewdiepie")

You might be interested in
Compare the encryption algorithms found in s-tools: idea, mdc, des, and 3des.
grin007 [14]
Are their answer chocies 

3 0
2 years ago
Given the dictionary, d, find the largest key in the dictionary and associate the corresponding value with the variable val_of_m
geniusboy [140]

Answer:

Here is the Python program:

d = {5:3, 4:1, 12:2}

val_of_max = d[max(d.keys())]

print(val_of_max)

Explanation:

The program works as follows:

So we have a dictionary named d which is not empty and has the following key-value pairs:

5:3

4:1

12:2

where 5 , 4 and 12 are the keys and 3, 1 and 2 are the values

As we can see that the largest key is 12. So in order to find the largest key we use max() method which returns the largest key in the dictionary and we also use keys() which returns a view object i.e. the key of dictionary. So

max(d.keys()) as a whole gives 12

Next d[max(d.keys())]  returns the corresponding value of this largest key. The corresponding value is 2 so this entire statement gives 2.

val_of_max = d[max(d.keys())] Thus this complete statement gives 2 and assigns to the val_of_max variable.

Next print(val_of_max) displays 2 on the output screen.

The screenshot of program along with its output is attached.

4 0
2 years ago
When onboard and facing the bow of a boat where is the port side
topjm [15]

Answer:

im pretty sure this is common sense

Explanation:

3 0
1 year ago
What does Josh Silverman name as the most important aspect of managing finances?
Andre45 [30]

The answer is a the first one

6 0
1 year ago
Read 2 more answers
The flagging of an uncommon last name as a spelling error can be stopped by opening the shortcut menu on the first occurrence of
Mice21 [21]

Solution:

The flagging of an uncommon last name as a spelling error can be stopped by opening the shortcut menu on the first occurrence of the name and selecting of ignoring all.

Thus the required right answer is B.

8 0
2 years ago
Other questions:
  • ____ is a program placed on a computer without the user's knowledge that secretly collects information about the user
    14·1 answer
  • Write the prototype for a function named showValues. It should accept an array of integers and an integer for the array size as
    14·3 answers
  • Suppose that a scheduling algorithm (at the level of short-term CPU scheduling) favors those processes that have used the least
    10·1 answer
  • Raj needs to apply sorting to a current list in his Word document.
    11·2 answers
  • Suppose your name was George Gershwin. Write a complete program that would print your last name, followed by a comma, followed b
    11·2 answers
  • In the Budget Details sheet, if you wish to autofill with the formula, you must use a ______ reference for the LY Spend Total ce
    10·1 answer
  • Given an alphabet, print all the alphabets up to and including the given alphabet.
    15·2 answers
  • Drag each label to the correct location on the image.
    11·1 answer
  • Declare a struct named PatientData that contains two integer data members named heightInches and weightPounds. Sample output for
    13·1 answer
  • Which of these tools can best be used as a self assessment for career planning purposes? a personality test an asset analysis a
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!