#!/usr/bin/python# -*- coding: utf-8 -*-classDataEngineer:
def__init__(self):
self.name='Elad Kalif'self.role='Data Engineer'self.location='Tel Aviv'self.knowledge_base= [
'Software Engineering',
'Data Pipelines',
'Python',
'SQL',
'Various DBs',
'Query Optimization',
]
self.knowledge_base.insert(0, 'Apache Airflow')
defsay_hi(self):
print("""Hello, thanks for dropping by!This is {name}, I live in {location}. I work as a {role} and my main focus is {focus}.I have wide interests, to name a few {knowledge_base} & {knowledge_base_last}.""".format(
name=self.name,
location=self.location,
role=self.role,
focus=self.knowledge_base[0],
knowledge_base=', '.join(self.knowledge_base[:-1]),
knowledge_base_last=self.knowledge_base[-1]
)
)
me=DataEngineer()
me.say_hi()