Generation

generate functionSun, 04 Dec 2022

Personal assistant ai

def personal_assistant(command) if command == "what is the day" return "Today is monday" elsif command == "what is the weather" return "It is sunny today" else return "Sorry, I dont understand" end end

Questions about programming?Chat with your personal AI assistant