SimpleChatbot | A python based simple chat bot application | Chat library
kandi X-RAY | SimpleChatbot Summary
kandi X-RAY | SimpleChatbot Summary
A python based simple chat bot application
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Send chat .
SimpleChatbot Key Features
SimpleChatbot Examples and Code Snippets
Community Discussions
Trending Discussions on SimpleChatbot
QUESTION
So I'm making a java program that will ask the user "how are you" and if the criteria in the if and if else statements isn't met then it should loop but i'm not sure how to implement the loop to make it so when the user doesn't input anything that is in both of the if statements it should repeat the code
Here is my code
...ANSWER
Answered 2018-Mar-14 at 20:34You could use a while loop which you only break from when your desired conditions are met, repeatedly prompting the user to type a desired value:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SimpleChatbot
You can use SimpleChatbot like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page