Last login: on Ubuntu

~/koky.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 writing code in {self._favoriteLanguage} .')



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


person1.email = '[email protected]'

person1.blog = "https://koky.ir/farsi"