Creates random and return sentences.
()
| 18 | |
| 19 | |
| 20 | def random_sentence(): |
| 21 | """Creates random and return sentences.""" |
| 22 | return ( |
| 23 | "{} {} {} {} {} {}".format( |
| 24 | article[random_int()], |
| 25 | noun[random_int()], |
| 26 | verb[random_int()], |
| 27 | preposition[random_int()], |
| 28 | article[random_int()], |
| 29 | noun[random_int()], |
| 30 | ) |
| 31 | ).capitalize() |
| 32 | |
| 33 | |
| 34 | # prints random sentences |
no test coverage detected