class Programmer:
def __init__(self, name, age, education, languages, instruments, optimization, exploration, invitation):
self.name = name
self.age = age
self.education = education
self.languages = languages
self.instruments = instruments
self.optimization = optimization
self.exploration = exploration
self.invitation = invitation
def welcome(self):
greeting = f"Behold, for you have entered the realm of {self.name}'s programming world! I'm {self.age} years old and currently studying {self.education}."
print(greeting)
print("I wield a mighty arsenal of programming languages, including: ")
for language in self.languages:
print("- " + language)
print("Each language is like an instrument in my hands:")
for language, instrument in self.instruments.items():
print("- " + language + ": " + instrument)
print(self.optimization)
print(self.exploration)
print(self.invitation)
my_programmer = Programmer(
name="Indrajeeth",
age=20,
education="BTech IT",
languages=["Python", "Golang", "TypeScript", "JavaScript"],
instruments={
"Python": "the scalpel of simplicity",
"Golang": "the scalpel of speed",
"TypeScript": "the shield of type safety",
"JavaScript": "the chameleon of versatility",
},
optimization="With each line of code, I optimize like a blacksmith forging a masterpiece.",
exploration="My journey through the vast landscape of technology is like a sailor sailing uncharted waters.",
invitation="Join me, and together we will create wonders that shall echo through the digital ages!",
)
my_programmer.welcome()
tamilvip007 Goto Github PK
Name: Iɴᴅʀᴀᴊᴇᴇᴛʜ
Type: User
Company: Soon..................................................
Bio: 21 Y.O Pᴀssɪᴏɴᴀᴛᴇ Pʀᴏɢʀᴀᴍᴍᴇʀ
Twitter: tamilvip007
Location: Tamil Nadu, India
Blog: indrajeeth.in