Return a list of paragraphs as returned by paragraph(). If `common` is True, then the first paragraph will be the standard 'lorem ipsum' paragraph. Otherwise, the first paragraph will be random Latin text. Either way, subsequent paragraphs will be random Latin text.
(count, common=True)
| 250 | |
| 251 | |
| 252 | def paragraphs(count, common=True): |
| 253 | """ |
| 254 | Return a list of paragraphs as returned by paragraph(). |
| 255 | |
| 256 | If `common` is True, then the first paragraph will be the standard |
| 257 | 'lorem ipsum' paragraph. Otherwise, the first paragraph will be random |
| 258 | Latin text. Either way, subsequent paragraphs will be random Latin text. |
| 259 | """ |
| 260 | paras = [] |
| 261 | for i in range(count): |
| 262 | if common and i == 0: |
| 263 | paras.append(COMMON_P) |
| 264 | else: |
| 265 | paras.append(paragraph()) |
| 266 | return paras |
| 267 | |
| 268 | |
| 269 | def words(count, common=True): |
searching dependent graphs…