SlideShare una empresa de Scribd logo
1 de 1
This week’s assignment involves writing a Python program to determine
whether a
This week’s assignment involves writing a Python program to determine whether a
password exactly meets the following requirements for a secure password: the length of the
password must be greater than some minimum length and less than some maximum. You
should decide on the minimum (at least 6) and maximum (at least 15) allowable lengths; it
must not include any spaces; it must contain at least one digit; and it must contain at least
one alphabetic character. Your program must contain at least three functions: one function
to check that the password is the proper length; a second function to check whether it
contains the required number of characters/digits (Hint: to determine whether it contains
at least one digit and one alphabetic character, use a loop and the isalpha or isdigit
methods); and a third function to verify that it does not contain the prohibited character
(space). Your program should prompt the user for the candidate password and then each
function and display either that the password is valid or the first reason it is invalid.You
cannot use Regular Expressions (RE) !Your program should include Header comments
(what the program does) and in-line comments (the major design steps). Document the
values you chose for the min and max length values.Submit your Python program as a text
file (.py) file. In addition, submit a Design outline and a Test plan/report (at least 3 different
test cases – testing all the requirements) in a Word document or a PDF file and include a
screenshot of execution of your program for each test case.

Más contenido relacionado

Similar a Python program to validate password strength

Software develop....
Software develop.... Software develop....
Software develop.... GCWUS
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxAASTHA76
 
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30MysoreMuleSoftMeetup
 
Cis355 a ilab 2 control structures and user defined methods devry university
Cis355 a ilab 2 control structures and user defined methods devry universityCis355 a ilab 2 control structures and user defined methods devry university
Cis355 a ilab 2 control structures and user defined methods devry universitysjskjd709707
 
This assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docxThis assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docxdunningblair
 
265 ge8151 problem solving and python programming - 2 marks with answers
265   ge8151 problem solving and python programming - 2 marks with answers265   ge8151 problem solving and python programming - 2 marks with answers
265 ge8151 problem solving and python programming - 2 marks with answersvithyanila
 
Python programming - Everyday(ish) Examples
Python programming - Everyday(ish) ExamplesPython programming - Everyday(ish) Examples
Python programming - Everyday(ish) ExamplesAshish Sharma
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdfNayanChandak1
 
IT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COM
IT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COMIT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COM
IT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COMalbert0061
 
What is Range Function? | Range in Python Explained | Edureka
What is Range Function? | Range in Python Explained | EdurekaWhat is Range Function? | Range in Python Explained | Edureka
What is Range Function? | Range in Python Explained | EdurekaEdureka!
 
PDLC.pptx
PDLC.pptxPDLC.pptx
PDLC.pptxmarysj3
 
CSC2308 - PRINCIPLE OF PROGRAMMING II.pdf
CSC2308 - PRINCIPLE OF PROGRAMMING II.pdfCSC2308 - PRINCIPLE OF PROGRAMMING II.pdf
CSC2308 - PRINCIPLE OF PROGRAMMING II.pdfAbdulmalikAhmadLawan2
 
CSCI 180 Project Grading  Your project is graded based .docx
CSCI 180 Project Grading   Your project is graded based .docxCSCI 180 Project Grading   Your project is graded based .docx
CSCI 180 Project Grading  Your project is graded based .docxfaithxdunce63732
 
White box testing
White box testingWhite box testing
White box testingAbdul Basit
 

Similar a Python program to validate password strength (15)

Software develop....
Software develop.... Software develop....
Software develop....
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
 
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
 
Cis355 a ilab 2 control structures and user defined methods devry university
Cis355 a ilab 2 control structures and user defined methods devry universityCis355 a ilab 2 control structures and user defined methods devry university
Cis355 a ilab 2 control structures and user defined methods devry university
 
This assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docxThis assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docx
 
265 ge8151 problem solving and python programming - 2 marks with answers
265   ge8151 problem solving and python programming - 2 marks with answers265   ge8151 problem solving and python programming - 2 marks with answers
265 ge8151 problem solving and python programming - 2 marks with answers
 
Python programming - Everyday(ish) Examples
Python programming - Everyday(ish) ExamplesPython programming - Everyday(ish) Examples
Python programming - Everyday(ish) Examples
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdf
 
Introduction to Programming.docx
Introduction to Programming.docxIntroduction to Programming.docx
Introduction to Programming.docx
 
IT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COM
IT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COMIT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COM
IT 145 FINAL PROJECT GUIDELINES / TUTORIALOUTLET DOT COM
 
What is Range Function? | Range in Python Explained | Edureka
What is Range Function? | Range in Python Explained | EdurekaWhat is Range Function? | Range in Python Explained | Edureka
What is Range Function? | Range in Python Explained | Edureka
 
PDLC.pptx
PDLC.pptxPDLC.pptx
PDLC.pptx
 
CSC2308 - PRINCIPLE OF PROGRAMMING II.pdf
CSC2308 - PRINCIPLE OF PROGRAMMING II.pdfCSC2308 - PRINCIPLE OF PROGRAMMING II.pdf
CSC2308 - PRINCIPLE OF PROGRAMMING II.pdf
 
CSCI 180 Project Grading  Your project is graded based .docx
CSCI 180 Project Grading   Your project is graded based .docxCSCI 180 Project Grading   Your project is graded based .docx
CSCI 180 Project Grading  Your project is graded based .docx
 
White box testing
White box testingWhite box testing
White box testing
 

Más de studywriters

inventor who is currently living in Northeast Ohio and answer.docx
inventor who is currently living in Northeast Ohio and answer.docxinventor who is currently living in Northeast Ohio and answer.docx
inventor who is currently living in Northeast Ohio and answer.docxstudywriters
 
Health care organizations strive to create a culture of.docx
Health care organizations strive to create a culture of.docxHealth care organizations strive to create a culture of.docx
Health care organizations strive to create a culture of.docxstudywriters
 
Health care has become to depend on information technology.docx
Health care has become to depend on information technology.docxHealth care has become to depend on information technology.docx
Health care has become to depend on information technology.docxstudywriters
 
Health care facilities treat many types of For.docx
Health care facilities treat many types of For.docxHealth care facilities treat many types of For.docx
Health care facilities treat many types of For.docxstudywriters
 
Health Belief Model.docx
Health Belief Model.docxHealth Belief Model.docx
Health Belief Model.docxstudywriters
 
Health assessment.docx
Health assessment.docxHealth assessment.docx
Health assessment.docxstudywriters
 
Health and Professional Ethics.docx
Health and Professional Ethics.docxHealth and Professional Ethics.docx
Health and Professional Ethics.docxstudywriters
 
Health and Advocacy.docx
Health and Advocacy.docxHealth and Advocacy.docx
Health and Advocacy.docxstudywriters
 
he brain changes as we Explain the changes in.docx
he brain changes as we Explain the changes in.docxhe brain changes as we Explain the changes in.docx
he brain changes as we Explain the changes in.docxstudywriters
 
HCR 210 Week 1 DQs.docx
HCR 210 Week 1 DQs.docxHCR 210 Week 1 DQs.docx
HCR 210 Week 1 DQs.docxstudywriters
 
HCS 131 Course Presentation.docx
HCS 131 Course Presentation.docxHCS 131 Course Presentation.docx
HCS 131 Course Presentation.docxstudywriters
 
Hawksbill sea turtle Conservation Management.docx
Hawksbill sea turtle Conservation Management.docxHawksbill sea turtle Conservation Management.docx
Hawksbill sea turtle Conservation Management.docxstudywriters
 
Is social media more beneficial or more harmful to our.docx
Is social media more beneficial or more harmful to our.docxIs social media more beneficial or more harmful to our.docx
Is social media more beneficial or more harmful to our.docxstudywriters
 
Is relevant to Teslas.docx
Is relevant to Teslas.docxIs relevant to Teslas.docx
Is relevant to Teslas.docxstudywriters
 
Having more clarity about helps one become a better.docx
Having more clarity about helps one become a better.docxHaving more clarity about helps one become a better.docx
Having more clarity about helps one become a better.docxstudywriters
 
Is prostitution morally Should we legalize.docx
Is prostitution morally Should we legalize.docxIs prostitution morally Should we legalize.docx
Is prostitution morally Should we legalize.docxstudywriters
 
Is Moral Anger.docx
Is Moral Anger.docxIs Moral Anger.docx
Is Moral Anger.docxstudywriters
 
Is Price gouging criminal or is it the free market.docx
Is Price gouging criminal or is it the free market.docxIs Price gouging criminal or is it the free market.docx
Is Price gouging criminal or is it the free market.docxstudywriters
 
is never total and never The Social.docx
is never total and never The Social.docxis never total and never The Social.docx
is never total and never The Social.docxstudywriters
 
is medicine and doctors need to prescribe.docx
is medicine and doctors need to prescribe.docxis medicine and doctors need to prescribe.docx
is medicine and doctors need to prescribe.docxstudywriters
 

Más de studywriters (20)

inventor who is currently living in Northeast Ohio and answer.docx
inventor who is currently living in Northeast Ohio and answer.docxinventor who is currently living in Northeast Ohio and answer.docx
inventor who is currently living in Northeast Ohio and answer.docx
 
Health care organizations strive to create a culture of.docx
Health care organizations strive to create a culture of.docxHealth care organizations strive to create a culture of.docx
Health care organizations strive to create a culture of.docx
 
Health care has become to depend on information technology.docx
Health care has become to depend on information technology.docxHealth care has become to depend on information technology.docx
Health care has become to depend on information technology.docx
 
Health care facilities treat many types of For.docx
Health care facilities treat many types of For.docxHealth care facilities treat many types of For.docx
Health care facilities treat many types of For.docx
 
Health Belief Model.docx
Health Belief Model.docxHealth Belief Model.docx
Health Belief Model.docx
 
Health assessment.docx
Health assessment.docxHealth assessment.docx
Health assessment.docx
 
Health and Professional Ethics.docx
Health and Professional Ethics.docxHealth and Professional Ethics.docx
Health and Professional Ethics.docx
 
Health and Advocacy.docx
Health and Advocacy.docxHealth and Advocacy.docx
Health and Advocacy.docx
 
he brain changes as we Explain the changes in.docx
he brain changes as we Explain the changes in.docxhe brain changes as we Explain the changes in.docx
he brain changes as we Explain the changes in.docx
 
HCR 210 Week 1 DQs.docx
HCR 210 Week 1 DQs.docxHCR 210 Week 1 DQs.docx
HCR 210 Week 1 DQs.docx
 
HCS 131 Course Presentation.docx
HCS 131 Course Presentation.docxHCS 131 Course Presentation.docx
HCS 131 Course Presentation.docx
 
Hawksbill sea turtle Conservation Management.docx
Hawksbill sea turtle Conservation Management.docxHawksbill sea turtle Conservation Management.docx
Hawksbill sea turtle Conservation Management.docx
 
Is social media more beneficial or more harmful to our.docx
Is social media more beneficial or more harmful to our.docxIs social media more beneficial or more harmful to our.docx
Is social media more beneficial or more harmful to our.docx
 
Is relevant to Teslas.docx
Is relevant to Teslas.docxIs relevant to Teslas.docx
Is relevant to Teslas.docx
 
Having more clarity about helps one become a better.docx
Having more clarity about helps one become a better.docxHaving more clarity about helps one become a better.docx
Having more clarity about helps one become a better.docx
 
Is prostitution morally Should we legalize.docx
Is prostitution morally Should we legalize.docxIs prostitution morally Should we legalize.docx
Is prostitution morally Should we legalize.docx
 
Is Moral Anger.docx
Is Moral Anger.docxIs Moral Anger.docx
Is Moral Anger.docx
 
Is Price gouging criminal or is it the free market.docx
Is Price gouging criminal or is it the free market.docxIs Price gouging criminal or is it the free market.docx
Is Price gouging criminal or is it the free market.docx
 
is never total and never The Social.docx
is never total and never The Social.docxis never total and never The Social.docx
is never total and never The Social.docx
 
is medicine and doctors need to prescribe.docx
is medicine and doctors need to prescribe.docxis medicine and doctors need to prescribe.docx
is medicine and doctors need to prescribe.docx
 

Último

Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024Matteo Carbone
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMintel Group
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckHajeJanKamps
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncrdollysharma2066
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
India Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportIndia Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportMintel Group
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 

Último (20)

Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 Edition
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
India Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportIndia Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample Report
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 

Python program to validate password strength

  • 1. This week’s assignment involves writing a Python program to determine whether a This week’s assignment involves writing a Python program to determine whether a password exactly meets the following requirements for a secure password: the length of the password must be greater than some minimum length and less than some maximum. You should decide on the minimum (at least 6) and maximum (at least 15) allowable lengths; it must not include any spaces; it must contain at least one digit; and it must contain at least one alphabetic character. Your program must contain at least three functions: one function to check that the password is the proper length; a second function to check whether it contains the required number of characters/digits (Hint: to determine whether it contains at least one digit and one alphabetic character, use a loop and the isalpha or isdigit methods); and a third function to verify that it does not contain the prohibited character (space). Your program should prompt the user for the candidate password and then each function and display either that the password is valid or the first reason it is invalid.You cannot use Regular Expressions (RE) !Your program should include Header comments (what the program does) and in-line comments (the major design steps). Document the values you chose for the min and max length values.Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan/report (at least 3 different test cases – testing all the requirements) in a Word document or a PDF file and include a screenshot of execution of your program for each test case.