class Rootski:
def __init__(self, name, role, languages_spoken, learning, fun_fact):
self.name = name
self.role = role
self.languages_spoken = languages_spoken
self.learning = learning
self.fun_fact = fun_fact
def say_hello():
current_hour = datetime.datetime.now().hour
if current_hour < 12:
greeting = "Good morning"
elif 12 <= current_hour < 18:
greeting = "Good afternoon"
else:
greeting = "Good evening"
print(f"{greeting}! Thank you for the visit, see you in the repo section!\n")
def main():
me = Rootski(
name="Rahul Joshi",
role="Backend developer in Django and Python",
languages_spoken=["hi_IN", "en_US"],
learning="DevOps",
fun_fact="I'm passionate about design and develop Idea's into REALITY!"
)
Rootski.say_hello()
if __name__ == "__main__":
main()
Highlights
- Pro
Pinned Loading
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.