<reponame>lusifer65/Python-Thunder<gh_stars>1-10
'''
Problem statement: Create the instance attributes fullname and email in the Employee class. Given a person's first and last names:
Form the fullname by simply joining the first and last name together, separated by a space.
Form the email by joining the first and last name together with a "." in between, and follow it with @<EMAIL>.com at the end. Make sure the entire email is in lowercase.
Problem Link: https://edabit.com/challenge/gB7nt6WzZy8TymCah
'''

class Employee:
    def __init__(self, firstname, lastname):
        self.firstname = firstname
        self.lastname = lastname
        self.fullname=self.firstname+" "+self.lastname
        self.email=self.firstname.lower()+"."+self.lastname.lower()+"@<EMAIL>"

emp_1 = Employee("John", "Smith")
emp_2 = Employee("Mary",  "Sue")
emp_3 = Employee("Antony", "Walker")

print(emp_1.fullname)
print(emp_2.email)
print(emp_3.firstname)

'''
Problem statement: Create the instance attributes fullname and email in the Employee class. Given a person's first and last names:
Form the fullname by simply joining the first and last name together, separated by a space.
Form the email by joining the first and last name together with a "." in between, and follow it with @<EMAIL>.com at the end. Make sure the entire email is in lowercase.
Problem Link: https://edabit.com/challenge/gB7nt6WzZy8TymCah
'''

class Employee:
    def __init__(self, firstname, lastname):
        self.firstname = firstname
        self.lastname = lastname
        self.fullname=self.firstname+" "+self.lastname
        self.email=self.firstname.lower()+"."+self.lastname.lower()+"@<EMAIL>"

emp_1 = Employee("John", "Smith")
emp_2 = Employee("Mary",  "Sue")
emp_3 = Employee("Antony", "Walker")

print(emp_1.fullname)
print(emp_2.email)
print(emp_3.firstname)
Problem statement: Create the instance attributes fullname and email in the Employee class. Given a person's first and last names:
 Form the fullname by simply joining the first and last name together, separated by a space.
 Form the email by joining the first and last name together with a "." in between, and follow it with @<EMAIL>.com at the end. Make sure the entire email is in lowercase.
 Problem Link: https://edabit.com/challenge/gB7nt6WzZy8TymCah