Menu
Coddy logo textTech

Initializing

Lesson 3 of 8 in Coddy's Register Login System Project course.

User systems requires us to keep track of registered users, and of logged in users 

challenge icon

Challenge

Easy

Create a class named LoginSystem, that doesn't receive anything in the constructor __init__(self) and initializes a variable users as an empty dictionary and logged_users as an empty set

Try it yourself

class LoginSystem:
    def __init__(self):
        # Your code here

All lessons in Register Login System Project

1Starting from scratch

IntroductionHow to use a set

2Building the system

InitializingRegisterProject lessonLoginProject lessonSign outProject lesson