Skip to content
Permalink
master
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
from random import choice as randomChoice
def giveName():
"""Chooses a random name for chatbot"""
names = ["chatbot3000", "bob"]
out = randomChoice(names)
print("My name is " + out)
def askName():
"""Asks user their name and greets"""
userName = input("What is your name? ")
print("Nice to meet you " + userName)