🚀 Day 2 of Learning Python OOPToday I explored one of the most important concepts in Object-Oriented Programming.🔹 Learned about the "__init__" constructor🔹 Understood how "self" works🔹 Difference between Class Variables and Instance Variables💡 Key takeaway:"self" represents the current object, and it helps each object store its own data separately.🧪 Practice:Created a Mobile class with brand and colour, and instantiated multiple objects with different values.Small progress every day leads to big results 💪#Python #OOP #CodingJourney #LearnInPublic #100DaysOfCode
Learning Python OOP: Understanding __init__ and self
More Relevant Posts
-
🚀 Day 18/30 – Python Challenge Stepping into Object-Oriented Programming (OOP) in Python! 🐍 🔹 Key Concepts Covered: * Classes and objects * **init** constructor method * Instance variables * Defining and calling methods 💻 Mini Task: Created a Student class with attributes like name and age, then created an object and displayed its details using a method. 🎯 Learning Outcome: Understood how OOP helps structure programs using real-world concepts, making code more organized, reusable, and scalable. This is a big step towards writing professional-level code 🚀 #Python #CodingChallenge #LearningJourney #OOP #BuildInPublic #StudentDeveloper #Day18
To view or add a comment, sign in
-
-
Day 4/30 – Exploring Python concepts Today I spent some time learning important Python concepts like loops, lists, tuples, and dictionaries. Loops help us repeat tasks efficiently instead of writing the same code multiple times. Lists and tuples allow us to store multiple values in a single variable, making data easier to manage. Dictionaries help organize data in a key-value format, which makes accessing information faster and more structured. Understanding these concepts helped me see how Python can be used to handle data and automate tasks in a much simpler way. Each small concept I learn is helping me build a stronger foundation in programming. Excited to keep learning and improving every day. ✨ #Day4 #30DaysOfPosting #PythonLearning #CodingJourney #ProgrammingBasics #LearningJourney
To view or add a comment, sign in
-
🚀 Day 43 of My 90-Day Python Learning Challenge Today I learned about Encapsulation in Python (OOP) and how to use getter and setter methods. Encapsulation helps in protecting data by restricting direct access and allowing controlled modification through methods. Key takeaways: • Understanding the concept of data hiding • Using private variables in a class • Accessing data using getter methods • Updating data safely using setter methods This concept helped me understand how to write more structured and secure code. Continuing to build strong fundamentals step by step 🚀 #Python #100DaysOfCode #CodingJourney #OOP #LearningInPublic #Consistency
To view or add a comment, sign in
-
-
📘 Day of Python Learning – Understanding Arguments in Functions Today I practiced arguments in Python, which help pass values into functions and make programs more flexible and reusable. ✅ Learned different types of arguments: • Positional Arguments • Keyword Arguments • Default Arguments • Variable-Length Arguments This concept made me understand how functions can handle inputs efficiently and reduce repetitive code. Step by step, Python is becoming more interesting as each topic connects to real programming logic. Small concepts build strong coding foundations 🚀 Consistent practice is helping me improve my problem-solving skills every day. #Python #PythonLearning #FunctionsInPython #Arguments #CodingJourney #Programming #LearningEveryday #TechSkills #LinkedInLearning day 16
To view or add a comment, sign in
-
-
🚀 Learning Python Step by Step Built a simple Countdown Timer using Python as part of my programming practice. This project takes user input, counts down step-by-step, and displays a message at the end using time delay functions. 🔹 Concepts Used: • User Input Handling • For Loops • Range Function • Time Module ("time.sleep()") • Basic Automation Logic This small project helped me understand how loops and time delays work together to create real-time effects in programs. Excited to keep learning and building more Python projects! with #Saumyasingh 🐍💻 #Python #Programming #CodingJourney #BeginnerProjects #LearningPython #StudentDeveloper
To view or add a comment, sign in
-
-
🚀 Day 17 – Advanced OOP Concepts in Python Worked on understanding deeper concepts of object-oriented programming in Python. 🔹 Constructor in Python and whether it is compulsory 🔹 Difference between constructor and normal method 🔹 Types of variables – instance, local, and static variables 🔹 Creating instance variables inside constructor and methods 🔹 Deleting instance variables 🔹 Understanding that instance variables cannot be accessed using class name 🔹 Static variables and their usage across objects 🔹 When to choose static variables These concepts helped me gain a clearer understanding of how Python handles objects and data. ✨ Improving consistency and strengthening fundamentals step by step. Global Quest Technologies #Day17 #Python #Programming #OOP #Coding #Growth
To view or add a comment, sign in
-
-
Assalamualaikum everyone, Building strong fundamentals is the key to success in programming. In this video, I’ve explained Python Data Types in a clear and beginner-friendly way, covering integers, floats, strings, and boolean values along with simple examples. I’ve also discussed type checking using type() and basic concatenation to help beginners understand concepts easily. If you’re starting your Python journey, this will give you a solid foundation. 🔗 Watch the full video here: https://lnkd.in/df-b-mk2 I would truly appreciate your feedback and support. #Python #Programming #DataScience #Learning #Beginners #Coding
Topic:10 Python Data Types Made Easy | Integers, Floats, Strings & Boolean Explained
https://www.youtube.com/
To view or add a comment, sign in
-
This is how it starts. Not with something big or complex… but with understanding simple concepts like variables. A lot of people overlook this stage, but this is where real learning happens, building strong foundations step by step. From setting up the environment to now understanding how data is stored, this is real progress. At Hempi, we focus on helping learners grow consistently, not just quickly. We’re proud to see this journey unfolding, and this is only the beginning. #LearningJourney #Python #MachineLearning #TechEducation #AIForAfrica #HEMPI
Nutrition & Dietetics Student | Aspiring Physician | Building Digital Skills | Passionate About Health, Nutrition & Preventive Medicine
I just took another step in my programming journey—I’ve started learning variables in Python. At first, it seemed like a very small concept, but I’ve come to realize how important it is. Variables are basically how we store and manage information in programming. They make it possible to work with data, solve problems, and build real applications. What’s interesting is how every new concept builds on the previous one. From struggling with installation, to now understanding how data is stored and used, it feels like real progress. I’m still at the beginning, but I’m learning consistently and enjoying the process. Small wins matter. 🚀 #MachineLearning #Python #DataScience #TechJourney #BuildInPublic #LearningInPublic #HieliteAcademy #Hempi #PythonBasics #TechSkills
To view or add a comment, sign in
-
-
🍀🚀 Exploring Python Loops & Control Statements: The Core of Logical Programming While learning Python, I realized how important loops and control statements are for writing efficient and logical code. Here’s a quick summary of what I understood: 🔹 For Loop Used to iterate over a sequence like lists, tuples, or strings. Best when the number of iterations is known. 🔹 While Loop Runs as long as a condition is true. Useful when the number of iterations isn’t fixed. 🔹 If, Elif, Else Helps in decision-making by executing code based on conditions. 🔹 Break Statement Used to exit a loop immediately when a condition is met. 🔹 Continue Statement Skips the current iteration and continues with the next one. 🔹 Pass Statement Acts as a placeholder when no action is needed but syntax requires a statement. 💡 These concepts are helping me build stronger programming logic step by step. 📌 Always open to learning more and improving! #Python #LearningJourney #Programming #Coding #Loops #ControlStatements
To view or add a comment, sign in
-
-
🎯 Built My First Python Mini Project – Number Guessing Game 🐍 As part of my Python learning journey, I created a simple Number Guessing Game using basic programming concepts. 💡 What this program does: The computer selects a random number The user tries to guess it It gives hints like “Too high” or “Too low” The game continues until the correct number is guessed 🧠 Concepts I used: ✔ Loops (while) ✔ Conditional statements (if-elif-else) ✔ User input ✔ break statement ✔ random module 🚀 What I learned: This project helped me understand how logic works in real programs and how different concepts connect together. 📌 This is just the beginning—more projects coming soon! If you’re also learning Python, what was your first project? 🤔 #Python #Projects #LearningJourney #Beginner #Coding #DataAnalytics
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development