diff --git a/mutations.py b/mutations.py new file mode 100644 index 0000000..fe98a9c --- /dev/null +++ b/mutations.py @@ -0,0 +1,7 @@ +def mutations(words): + for l in words[1].lower(): + try: + words[0].lower().index(l, 0) + except ValueError: + return False + return True