Cs Project Aswin
Cs Project Aswin
ABOUT PASSWORD:
A password is a string of characters used to verify
the identity of a user during the authentication process.
Passwords are typically used in tandem with a username; they
are designed to be known only to the user and allow that user
to gain access to a device, application or website.
PYTHON:
Python is a popular programming language. It was created by
Guido van Rossum, and released in 1991.
IT IS USED FOR:
web development (server-side),
software development,
mathematics,
system scripting.
WHAT CAN PYTHON DO?
Python can be used on a server to create web applications.
Python can be used alongside software to create workflows.
Python can connect to database systems. It can also read and
modify files.
Python can be used to handle big data and perform complex
mathematics.
Python can be used for rapid prototyping, or for production-
ready software development.
WHY PYTHON?
Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
Python has a simple syntax similar to the English language.
Python has syntax that allows developers to write programs
with fewer lines than some other programming languages.
Python runs on an interpreter system, meaning that code can
be executed as soon as it is written. This means that
prototyping can be very quick.
Python can be treated in a procedural way, an object-oriented
way or a functional way.
Good to know…..
DESIGN_WORK:
SYSTEM_DEVELOPEMENT_LIFE_
CYCLE:
SOURC_ECODE:
import random
import string
if len(characters) == 0:
print("Error: No character types selected. Please enable at least one option.")
return None
def main():
print("Password Generator")
while True:
length = int(input("Enter the password length: "))
use_uppercase = input("Include uppercase letters? (yes/no): ").lower() == "yes"
use_digits = input("Include digits? (yes/no): ").lower() == "yes"
use_special_chars = input("Include special characters? (yes/no): ").lower() == "yes"
password = generate_password(length, use_uppercase, use_digits, use_special_chars)
if password:
print("Generated Password:", password)
if __name__ == "__main__":
main()
OUTPUT:
Figure 1
CONCLUSION:
https://www.101computing.net/random-password-generator/
https://www.w3schools.com/python/python_intro.asp
https://www.tutorialspoint.com/system_analysis_and_design/i
mages/sdlc_phases.jpg
Computer Science with python Textbook for Class 11 By Sumita Arora
(2023-24)