Is there a way to limit the amount of words in the sentence?

前端 未结 0 994
北恋
北恋 2021-01-16 03:53

I have made this random sentence generator, but was wondering how I can limit the length of the sentence.

from collections import defaultdict
import random

w         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题