How do i ignore a the rest of a sentence that contains a word i want to print?
I’m trying to built an assistant, at first while I say "hi" it returns "hi" working great. but if I say "hi, what time is it" it goes to the first if cause it finds the value "hi" in my sentence. This is a piece of my code: def run_alexa(): command = take_command() matches_hi =… Read More How do i ignore a the rest of a sentence that contains a word i want to print?