!#/user/bin/python3
from gods_creations.living_beings.humans import Human
class Social:
platforms = (
"https://github.com/",
"https://twitter.com/",
"https://www.linkedin.com/in/"
)
def __init__(self, username: str) -> None:
self.username: str = username
def __str__(self) -> str:
return '-\n'.join([f"{platform}{self.username}" for platform in self.platforms])
class Skills:
def __init__(self):
self.languages: list[str] = ["Python", "C++", "Java"]
self.frameworks: list[str] = ["Django", "Flask", "Pandas"]
self.databases: list[str] = ["MySQL", "MongoDB"]
self.misc: list[str] = ["Git", "GitHub", "Ubuntu", "GCP"]
def __str__(self) -> str:
return f"-Languages: {', '.join(self.languages)} \
\n-Frameworks: {', '.join(self.frameworks)} \
\n-Databases: {', '.join(self.databases)} \
\n-Misc: {', '.join(self.misc)}"
class Location:
def __init__(self, city: str, state: str, country: str) -> None:
self.city: str = city
self.state: str = state
self.country: str = country
def __str__(self) -> str:
return f"{self.city}, {self.state}, {self.country}"
class Mahhheshh(Human):
def __init__(self) -> None:
self.name: str = "Mahesh Mulay"
self.age: int = 20
self.occupation: str = "Student"
self.pronouns: str = ["He", "Him"]
self.username: str = "Mahhheshh"
self.location: Location = Location("Pune", "Maharashtra", "India")
self.interests: list[str] = ["Programming", "AI/ML Enthusiast", "Open Source"]
self.skills: Skills = Skills()
self.social: Social = Social(self.username)
def __str__(self) -> str:
return f"""Hi there π! \
\nI'm {self.name}, I'm {self.age} years old and I'm a {self.occupation}. \
\nI'm from {self.location}. \
\nI'm interested in {', '.join(self.interests)}. \
\nMy skills are {self.skills}. \
\nYou can find me on {self.social}. \
\nHappy Coding!π¨βπ»"""
if __name__ == "__main__":
me = Mahhheshh()
print(me)
I am Mahesh! Python, Typescript and web devlopment
Highlights
- Pro
Pinned Loading
-
Youtube-Channel-Analyser
Youtube-Channel-Analyser PublicStreamlit App to Analysyze your favourite creators YouTube channel, Just with an google API key.
Python 13
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.