#!/usr/bin/python
# -*- coding: utf-8 -*-
class SoftwareEngineer:
def __init__(self):
self.name = "Bishoy Hany Raafat"
self.role = "Software Engineer"
self.languages_spoken = ["Arabic (Egypt)", "English (US)"]
self.programming_languages = ["Python", "JavaScript", "TypeScript", "Go", "Lua", "Dart", "C++"]
def hi(self):
print(f"Hello! My name is {self.name} and I am a {self.role}.")
def display_languages_spoken(self):
print("Languages I speak:")
for language in self.languages_spoken:
print(f"- {language}")
def display_programming_languages(self):
print("Programming languages I know:")
for language in self.programming_languages:
print(f"- {language}")
me = SoftwareEngineer()
me.hi()
me.display_languages_spoken()
me.display_programming_languages()
- I once wrote a Python script to automate my coffee brewing process. β
- My code editor theme is darker than my sense of humor. π
- I believe that semicolons are optional, but coffee is not. π