random mod

This commit is contained in:
MatOgr 2023-03-29 11:20:31 +02:00
parent 0da879db9e
commit 89b34bc38a

2
run.py
View File

@ -18,5 +18,7 @@ for line in sys.stdin:
print("am:0.3 was:0.3 have:0.3 :0.1")
elif previous_word.lower() in ["he", "she", "it"]:
print("is:0.3 was:0.3 has:0.3 :0.1")
elif previous_word.lower() in "bring":
print("something:0.3 it:0.3 them:0.3 :0.1")
else:
print("the:0.5 a:0.2 an:0.2 :0.1")