From 97758a682d9ae1d2a13e29b6bb06ab90b738c7bd Mon Sep 17 00:00:00 2001 From: suzan Date: Tue, 8 Nov 2022 17:26:22 +0300 Subject: [PATCH] ies again --- script.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script.py b/script.py index 2c5c0c3..70b3e2b 100644 --- a/script.py +++ b/script.py @@ -31,6 +31,10 @@ gamenames = spaceremover(gamenames) #new funtion quantifier def quantifier (words): word = random.choice(words) + if word[-1] =="y": + word = word[0:-1] + #word = word.replace("y","") + return word + "ies" return word + "s" #print(type(objects)) #print(objects)