Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Check Password Strength | Introduction to Cyber Security
Cyber Security Fundamentals
course content

Contenido del Curso

Cyber Security Fundamentals

Cyber Security Fundamentals

1. Introduction to Cyber Security
2. Web Cyber Security
3. Information Encryption

Challenge: Check Password Strength

Now, let's create a simple program to assess the strength of a password. As we've emphasized earlier, having a robust password is crucial for protection against malware and phishing attempts. So, let's proceed with building our straightforward program!

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 1. Capítulo 6
toggle bottom row

Challenge: Check Password Strength

Now, let's create a simple program to assess the strength of a password. As we've emphasized earlier, having a robust password is crucial for protection against malware and phishing attempts. So, let's proceed with building our straightforward program!

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 1. Capítulo 6
toggle bottom row

Challenge: Check Password Strength

Now, let's create a simple program to assess the strength of a password. As we've emphasized earlier, having a robust password is crucial for protection against malware and phishing attempts. So, let's proceed with building our straightforward program!

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Now, let's create a simple program to assess the strength of a password. As we've emphasized earlier, having a robust password is crucial for protection against malware and phishing attempts. So, let's proceed with building our straightforward program!

Tarea

You have to write a function that checks the strength of the password. Password is considered strong if it has more than 8 characters and there is at least one number and at least one letter.

  1. Use < operator to check if the provided password has more than 8 characters.
  2. Use .search() method of re library to check if there is at least one number and at least one number.

    Note

    re is the abbreviation for the "regular expression" module in Python. It provides powerful tools for pattern matching and text manipulation. If you want to have more practice with these expressions, you can try our Regex Wizards project.

Once you've completed this task, click the button below the code to check your solution.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 1. Capítulo 6
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt