import random
BE = ["I am","You are","am I","are you","I am not","You are not","am I not","are you not"]
DO = ["I do","You do","do I","do you","don't I","don't you","I don't","You don't",
"did I","did you","I did","you did","I did not","you did not","did I not","did you not"]
CAN = ["I can","you can","can I","can you","I can't","you can't","can't I","can't you"]
VERBS = [
("eat", True),
("drink", True),
("place", True),
("set", True),
("write", True),
("think", True),
("make", True),
("give", True),
("object to", True),
("know", False),
("love", False),
("like", False),
("see", False),
("use", False),
("live", False),
]
OBJ = ["a cat","a pen","a banana","the chair","paper","money","coffee"]
for _ in range(256):
et1 = random.choice(BE + DO + CAN)
verb, can_ing = random.choice(VERBS)
obj = random.choice(OBJ)
if et1 in BE and can_ing:
verb = verb + "ing"
print(f"{et1} {verb} {obj}.")
To embed this project on your website, copy the following code and paste it into your website's HTML: