Write a program in python that contains functions-methods

Assignment Help Python Programming
Reference no: EM132397527

Assignment: Programming Project Assignment: Password Checking

This Project can be done as a Python Application

Password Checking

Software to reset passwords often requires the user to enter the password twice, checking to make sure it was entered the same way both times. Write a program in Python that contains functions/methods in it that can verify that the two passwords entered are correct. Your project should contain a method that ask the user to enter a password twice, then either tell the user that the two entries were not the same and then start the process over again. Or, if they are the same, tell the user that the new password was accepted.

Additionally, the user is required to enter in a password that meets specific security requirements. Proper Passwords are required to follow these rules:

1. The password must be at least 8 characters long.

• The password must contain at least:

- one alpha character [a-zA-Z];

- one numeric character [0-9];

- one character that is not alpha or numeric, such as
"! @ $ % ^ & * ( ) - _ = + [ ] ; : ' " , < . > / ?" this is an example, all non-alpha or numeric characters should be included.

• The password must not:

- Contain spaces;

- Or, begin with an exclamation [!] or a question mark [?];

2. Finally, the password cannot contain repeating character strings of 2 or more identical characters, such as "11" or "aa".

Your task is to create a project to verify whether or not a prospective proper password meets these requirements and that the user has entered the correct password in twice. Hint, a modular solution to this assignment will be the most efficient approach to meeting the requirements of this project

The project should identify to the user the types of rule violations that are contained in an improperly entered password

The project should use a modular solution using user-defined functions.

Reference no: EM132397527

Questions Cloud

Accessing patient records and setting information : You have been assigned to investigate whether or not an employee at a local hospital has been accessing patient records and setting information
Data analyst capstone course project : Build a machine learning model to test and do prediction and Build a machine learning model and test it with the Test set values dataset
Corporation would like you to provide updated explanation : The Sunshine Health Corporation would like you to provide an updated explanation and reference guide on 802.11 standards and specifications.
Custom milling are to develop risk management framework : If Blue Wood Chocolate and Kilgore Custom Milling are to develop a risk management framework, who should lead the process at each company?
Write a program in python that contains functions-methods : Software to reset passwords often requires the user to enter the password twice, checking to make sure it was entered the same way both times. Write a program.
BUS1BAN ANALYSING BUSINESS DATA- Assignment Problem : BUS1BAN ANALYSING BUSINESS DATA- Assignment Help and Solutions, La Trobe University Australia-What are the average monthly earnings of male and female students.
Companies use mergers-acquisitions and outsourcing : Companies use mergers, acquisitions, outsourcing, vertical expansion to gain competitive advantage, control quality cost, and expand markets,
What factors are transforming professional services industry : What factors are transforming the professional services industry? What relationships must an IT worker manage, and what key ethical issues can arise in each?
Write methods to find and print smallest element in array : Write the following methods to find and print: 1) the smallest element in an array, 2) the largest element in an array, 3) the average of the values stored.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd