Generation

generate functionTue, 13 Dec 2022

Write a function that checks if the word "password" is in a string (any part of it)

def check_password(string): if "password" in string: return True else: return False check_password("asdfasdfpasswordasdfasdf")

Want to kickstart your project?Use the new AI Studio to create your code