Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Contact:
- #data members / attributes / properties
- def __init__(
- self,
- pName,
- pTel,
- pEmail,
- pWeb
- ):
- self.mName = pName
- self.mTel = pTel
- self.mEmail = pEmail
- self.mWeb = pWeb
- #def __init__
- #behaviors
- #class
- #instanciação
- c1 = Contact("Maria", "123", "maria@gmail.com", "no address")
- c2 = Contact("Art", "321", "art@gmail.com", "http://art.net")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement