المشاركات

عرض المشاركات من أكتوبر, 2024

Learn code

 Day 19 Functions in depth: Passing arguments by value and by reference. Write a program demonstrating both concepts in C.

Learn code

 Day 18 Data structures: Introduction to arrays vs. linked lists Write a program to implement a simple array in C and Pyt hon.

Learn code

 Day 17 Pointers in C (Basics): Understand memory addresses and pointers Write a program to display the address of a variable.

Learn code

 Day 16 Learn recursion: Write a program to calculate the factorial of a number using recursion.

Learn code

Day 15: Introduction to Flask I started learning Flask, a popular Python web framework. I set up a basic web server and created my first web page, exploring Flask's routing and understanding how to map URLs to functions. It was an exciting shift from desktop applications to web development

Learn code

 Day 14: Reviewing and Optimizing Code I took the time to review the code for the To-Do List project, making improvements to the structure and readability. I refactored repetitive code and followed best practices, which helped in understanding the importance of clean code

Learn code

 Day 13: Learning Error Handling I focused on error handling techniques in Python, using try-except blocks to manage potential errors, such as file read/write issues. I integrated error handling into the To-Do List app to make it more robust and user-friendly

Learn code

 Day 12: Implementing File Storage I learned how to work with files in Python to store data persistently. I updated the To-Do List application to save tasks in a text file, allowing users to keep their task list even after restarting the program. This was a big step towards creating a more complete application

Learn code

  Day 11: Adding Task Management Features Focused on adding more features to the To-Do List application, like setting task priorities and due dates. Also implemented a checkbox to mark tasks as completed, learning how to handle events in Tkinter along the way

Learn code

 Day 10: Developing a Simple User Interface I continued learning how to create a user interface using Tkinter in Python. I refined the To-Do List program by adding more interactive elements such as input fields, labels, and buttons to enhance user experience. I started to see how the graphical interface could make programs more accessible

Learn code

 Day 10: Developing a Simple User Interface I began learning how to build a basic user interface using the Tkinter library in Python. I learned how to create windows and buttons and added an interface to the To-Do List program I was working on. This was a new but exciting challenge.

Learn code

 Day 9: Starting a Small Project I decided to work on a simple project: creating a program for managing a To-Do List. I began by writing basic code to create the list and add and remove tasks. I felt proud because I started to see practical applications for what I had learned

Learn code

 Day 8: Exploring Python Libraries I started to explore built-in libraries in Python, such as math and datetime, and discovered how to use them to simplify some programming tasks. I wrote programs that calculate square roots and perform operations on date

Learn code

  Day 7: Review and Practice I decided to dedicate the day to reviewing what I had learned in the previous days by solving some coding exercises online. I used websites like HackerRank and CodeWars to tackle coding challenges. This helped reinforce the concepts and apply them in different contexts

Learn code

Day 6: Learning Object-Oriented Programming (OOP) I began learning about object-oriented programming, where I understood the concept of objects and classes. I learned how to create objects with specific properties and functions and wrote a simple program representing a car with attributes like speed and color. I saw how objects can simplify writing code

Learn code

  Day 5 : Today, I learned about conditional statements (if/else). This allows me to execute certain code based on specific conditions. It was fun because I felt like I had control over the flow of the code

Learn code

 Day 4: Today, I learned about mathematical and logical operations. I discovered how to add numbers or compare them using logical operators like == and !=.

Learn code

  Day 3 : Today, I learned about variables, which are places to store data. I learned how to handle different types of data like numbers and strings. I discovered how to change values and perform operations on them

Learn code

 Day 2: Today, I installed the necessary tools. I downloaded Python and installed PyCharm for a comfortable working environment. I ran my first program, "Hello World," and it was an amazing feeling

Learn code

Why do I want to learn programming? Today I started my journey by learning the basics. I chose Python because it's easy and beginner-friendly. I began by reading about the importance of programming and how it can be useful in my career