When the user enters an email address, and the program reads the email and display it according to its criteria (e.g `yeo.myy@edu.co`), like criteria: 

* `username` is `yeo.myy`
* `domain` is `edu.co`

I know its something to do with the `"@"`.

this is the code

```
class Email:
    def __int__(self,emailAddr):
        self.emailAddr = emailAddr

    def domain(self):
        index = 0
        for i in range(len(emailAddr)):
            if emailAddr[i] == "@":
                index = i
            return self.emailAddr[index+1:]

    def username(self):
        index = 0
        for i in range(len(emailAddr)):
            if emailAddr[i] == "@" :
                index = i
            return self.emailAddr[:index]

def main():

    emailAddr = raw_input("Enter your email>>")

    user = Email(emailAddr)

    print "Username = ", user.username()
    print "Domain = ", user.domain()

main()

```

this is the error I got:

```
Traceback (most recent call last):
  File "C:/Users/Owner/Desktop/sdsd", line 29, in <module>
    main()
  File "C:/Users/Owner/Desktop/sdsd", line 24, in main
    user = Email(emailAddr)
TypeError: this constructor takes no arguments

```