Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
crypto-chat/main.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
27 lines (20 sloc)
623 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from logic.welcome import Welcome | |
from logic.help import Help | |
from database.mongo import Mongo | |
import time | |
def main(): | |
newWelcome = Welcome() | |
# Welcome the user and get their private information | |
proceed = newWelcome.welcomeUser() | |
# check if we've completed the task for | |
# welcoming the user then proceed to the next task | |
if not proceed: | |
print("We're sorry but we're going to have to terminate this process becuase we couldn't onboard you. \n") | |
print("Please try again. \n") | |
time.sleep(2) | |
exit() | |
newHelp = Help() | |
newHelp.howItWorks() | |
newHelp.callFunc(proceed) | |
if __name__ == "__main__": | |
main() |