Back

Sanskar

Keen Learner and Exp... • 24d

Day 14 of learning python as a beginner. Topic: final practice of classes by creating an employee dashboard. I know you guys may have become bored seeing me talking about only classes however since a day or two, I was just practicing because I felt like I should know classes in more details today I have created an employee dashboard as a final practice of classes and know I think I got an idea about how to use classes. Please do tell me if you guys think I am not as ready as I think I am. Also during the process I got introduced with inheritance in class (I didn't use inheritance here because I wasn't able to find their exact use case here, do suggest me it there is). Inheritance are of three types: Single Inheritance: One child class inherits from one parent class. Multiple Inheritance: One child class inherits from more than one parent class. Multilevel inheritance: A chain of inheritance: child inherits from parent, which inherits from another parent. This time in my program I have also added an ability to edit the details using python File I/O. I created four methods for adding an employee, editing his details, seeing the current details and deleting the details. Then I used my if elif else ladder to call the respective function according to user's input I used a list to compare user's different responses and also wrapped all this ladder in a while loop so that user can repeat the program as long as he wants and exits whenever he feel like he's done with it. I would warmly welcome all your guys suggestions to make my code better and improve my knowledge. I know guys I am not able to reply to many of you people's comments filled with amazing suggestions and questions because I am working on preparing a little gift for you people because you all had and continued to guide me for so long that I feel like I should also provide some positive value (I don't know if it will be up to your expectations or not but still I will give my best) in your life as well.

Reply
1

More like this

Recommendations from Medial

Image Description
Image Description

HigherLevelGames

Learning | Earning • 1y

Once upon a time, students used to install Byjus and when they signed up, they were given an easy test. After sometime, someone from Byjus would call the parent of the child who took the test, and will tell the parent how smart he/she is and that t

See More
12 Replies
11

Khushbu Yadav

Web developer • 11m

[This post has been deleted by the creator]

Reply
9

kiran rai

Unicron Starup🥺❤️ • 5m

Anyone want Courses related to structuraland architecture desgining at low cost pre recorder classes and certifacte also provided Dm Me for more Details please...

Reply
3

Yash Pratap

csoc.in • 9m

[This post has been deleted by the creator]

Reply
1
5

Namit

Not going down today • 1m

Just published a devlog on a bug I introduced: My API was being called twice because I used the same hook in both a parent and child component. What went wrong, how I fixed it, and what to watch for when reusing hooks. Full post: namitjain.com/blo

See More
Reply
2

Harish Kumar

Training Consoler • 23d

Spoken English Classes in Madhavaram - Ed11 Learn to speak English fluently with fun and simple classes in Madhavaram! Experienced teachers help improve grammar, vocabulary, and pronunciation. Join now for better communication skills. For more info

See More
Reply
1
Image Description
Image Description

Ankit

Next billionaire 💫 • 1y

Starting a school with an American style culture and no dress code and school bags and flexible learning experiences and environment students enjoy the schooling and don't fear to go school and every class with in projector In school we should ca

See More
7 Replies
1
2

Ishant Gupta

Cyber Secuirty Stude... • 1y

Guys Assume a platform for Earning or basically Can be said Internship: -> Provides you Fully Satisfied space to teach ->As an Host, You need to give Details like: ----select what to teach ----How to teach(Live or Recorded) ----Timings of class ----

See More
1 Reply
4

Harish Kumar

Training Consoler • 1m

Spoken English Classes in Anna Nagar-Ed11 Join Spoken English Classes in Anna Nagar to boost your confidence and communication skills. Learn from expert trainers with easy and fun lessons. Visit Ed11 for top institution reference and start speaking

See More
Reply
2

Download the medial app to read full posts, comements and news.