You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A basic template for a simple python program that can generate random sentences (the template comes with only 5 words in this sentence)
How to use it:
Change the list of words that come within the inital python list, this can be tedious so I recommend creating a seperate file that can be accessed by the list.
If you want to add more words in the sentence just created another list and a variable for choosing a word I.e in the template I use the variable "firRW" for the first random word.
This is one of my first python projects, but if you get more complicated and add multiple strings of data then the sentence can become very complex and can even be implemented with features like grammar detection, but this is a very basic structure for a command-line sentence generator.