Last login: on Ubuntu

~/imgod.ir   

         master

cat

profile.py

class Profile:

   "create profile"

   def __init__(self,name,career):

      self._name = name

      self._career = career


      if self._career == 'programming':

         self._favoriteLanguage = 'python'



   def __str__(self):

      return (f'iam {self._name} and i passionate about learning how to code in python .')



person1 = Profile(name='soroush safari', career='programming')


person1.email = '[email protected]'