For today's project you need to create a function that takes an input of a string and a list. The list should contain all valid commands. The string is an input from the user. The function should return True if one of the words is in the commands list and False if it is not.
Create a test program with a list of commands.
bob
Wednesday, March 08, 2006
Subscribe to:
Comments (Atom)