用户名 = "USER123",电子邮件 = "user123@gmail.com",密码 = "密码123"
创建一个接受用户名,电子邮件地址和密码的类,并有一个方法,将输出一个格式化的字符串的用户名,电子邮件和星号的密码表示.
```Python
class User:
    def __init__(self, username, email, password):
        self.username = username
        self.email = email
        self.password = password

    def display_info(self):
        password_asterisk = '*' * len(self.password)
        print("Username: {}\nEmail: {}\nPassword: {}".format(self.username, self.email, password_asterisk))

user = User("USER123","user123@gmail.com","password123")
user.display_info()
```
Output:
```
Username: USER123
Email: user123@gmail.com
Password: ***********
```