Challenge: Password Validation
Note
The comments
The new code is belowandThe new code is abovewill help you to find the new code.
Завдання
Swipe to start coding
Let's implement password validation for your code!
- Define the
passwordproperty by the@propertydecorator. - The
passwordproperty should return the_passwordattribute. - Implement the password setter by the
@property.setterdecorator.
Take attention: This decorator starts from the property name (@{property_name}.setter). - The password should be string with a length greater than or equal to
8. - Use the
self.passwordproperty inside the__init__()magic method
(not a_password).
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 9
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Сумаризуйте цей розділ
Пояснити код у file
Пояснити, чому file не вирішує завдання
Awesome!
Completion rate improved to 2.78
Challenge: Password Validation
Свайпніть щоб показати меню
Note
The comments
The new code is belowandThe new code is abovewill help you to find the new code.
Завдання
Swipe to start coding
Let's implement password validation for your code!
- Define the
passwordproperty by the@propertydecorator. - The
passwordproperty should return the_passwordattribute. - Implement the password setter by the
@property.setterdecorator.
Take attention: This decorator starts from the property name (@{property_name}.setter). - The password should be string with a length greater than or equal to
8. - Use the
self.passwordproperty inside the__init__()magic method
(not a_password).
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 9
single