May 28, 2021 Article blog
What if the system gives us a random password function when creating an account? H ow are sentences stitched together in the given words? How do I get more interesting stories online?
Objective: Make a program that can specify the length of the password and generate random passwords
Tips: Create strings of numbers, capital letters, lowercase letters, and special characters. The password is randomly generated based on the set password length.
Purpose: To generate random and unique sentences based on what the user enters
Tips: Add data to sentences based on the various nouns, pronouns, adjectives, etc. entered by the user.
Goal: A random story is generated each time the user runs the program
The tips:random module acts as a random part of the selection story.
Here's what the editor-in-chief brings you about how Python generates random passwords, sentences, and stories.