Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
software-dev-7054cem/user_profile.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21 lines (13 sloc)
383 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" This is the interface, Profile""" | |
class Profile: | |
def __init__(self): # a method to create objects | |
self._email = "" | |
self._role = "" | |
def get_email(self): # get method | |
pass | |
def set_email(self, email): # set method | |
pass | |
def get_role(self): # get method | |
pass | |
def set_role(self, role): # set method | |
pass |