Test Informed Learning with Examples

Logo

Repository with assignments using the Test Informed Learning with Examples (TILE) method to integrate testing into existing programming courses for free.

Menu

Password complexity checker

Write a function that receives a password as a parameter and determines its complexity, according to these rules:

Remember that in theory class we have seen the following predefined functions in Python:

To test your function well, how many test cases have you run? Have you thought about both lowercase and uppercase?

Insist that the students test their programs by asking them
questions on what would be good test cases.