Skip to content

paragraph

paragraph(length: int = 5, vary_length: bool = True) -> str

Generate a random paragraph of text.

  • Locale dependent

Arguments

Param Type Default Description
length int 5 Number of sentences in the paragraph. Defaults to 5.
vary_length bool True Randomize sentence count around the target length.

Returns str