📅 Day 18 of my Python Learning Journey 🚀 Programming becomes powerful when your code can interact with users. Today I continued practicing Arrays in Python, but with a more dynamic approach — taking input directly from the user and storing those values inside an array. 💻Here’s what I explored today: 🔹 Creating an empty array using the array module 🔹 Taking the array size (range) from the user 🔹 Using a loop to collect values from the user 🔹 Storing each value using append() 🔹 Printing the final array with all user inputs This exercise helped me understand how programs can collect data dynamically instead of using fixed values. 🧠 Key insight from today: Programs become more useful when they can accept input from users and process it logically. Practicing these fundamentals is helping me build a stronger foundation in Python and understand how real-world programs handle data. 📈 Day 18 complete — continuing the journey of learning Python step by step. . . . . . . . #Python #CodingJourney #100DaysOfCode #Programming #LearningInPublic #ComputerScience #BuildInPublic 🚀💻
Python Learning Journey: Dynamic Arrays with User Input
More Relevant Posts
-
🚀 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
-
-
🍀🚀 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
-
-
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
-
🚀 Python Learning Journey – Day 3 Today I continued my Python programming journey and explored some very important concepts that help build strong programming logic. 📚 Topics I Learned Today: 🔹 Loops in Python (for loop & while loop) 🔹 Functions and how they help reuse code 🔹 Recursion and how functions can call themselves 🔹 Built a small Snake 🐍 Water 💧 Gun 🔫 Game using Python Through these topics, I practiced writing cleaner code, improving logical thinking, and understanding how programs make decisions. 💡 Key Takeaways: ✔ Loops help automate repetitive tasks ✔ Functions make code modular and reusable ✔ Recursion helps solve complex problems using smaller sub-problems ✔ Mini projects like games make learning programming fun and practical I’m excited to continue learning and building more projects in Python. Every day brings new challenges and new knowledge! #Python #PythonLearning #CodingJourney #Programming #100DaysOfCode #TechSkills #ComputerScience #LearningInPublic
To view or add a comment, sign in
-
🚀 Python Practice – Exception Handling Continuing my Python learning journey by exploring how to handle errors effectively 🐍 In this session, I focused on: ✔️ try & except blocks ✔️ Handling different types of exceptions ✔️ else and finally blocks ✔️ Writing clean and safe code Practiced handling errors like division by zero, invalid input, and file-related issues to prevent program crashes. Learning exception handling is helping me write more reliable and user-friendly programs 💡 A big thanks to Krish Naik for his amazing teaching and clear explanations 🙌 Documented all my practice in a Jupyter Notebook and shared it as a PDF to track my progress. Understanding how to handle errors is an important step towards real-world programming 🚀 Next: working with Numpy and Pandas 📊 #Python #ExceptionHandling #Programming #Coding #LearningJourney #DataAnalytics
To view or add a comment, sign in
-
🚀 Day 2 of My Python Learning Journey Today I continued learning Python fundamentals and explored how different data types work and interact with operations. Here’s what I practiced today: 🔹 Types of variables and operations on data types 🔹 Arithmetic operations using integers and floats 🔹 Operations with Boolean variables 🔹 Working with string variables 🔹 Checking variable types using "type()" 🔹 Converting one data type to another 🔹 Building a simple Shopping Cart example program It’s interesting to see how these basic concepts form the foundation of real programs. Small progress every day is the goal. 🚀 If you're learning programming too: 💬 What was the first program you built when learning Python? #Python #LearningPython #CodingJourney #100DaysOfCode #Programming #DeveloperJourney
To view or add a comment, sign in
-
-
Day 1 of my Python & DSA learning journey 🚀 Today I learned about Functions in Python. ❓ What is a Function? A function is a reusable block of code that performs a specific task. Instead of writing the same code again and again, we create a function and call it whenever we need it. 📌 Why functions are important: • They make code reusable • They organize the program • They reduce repetition in code 💻 Example in Python def add_numbers(a, b): result = a + b return result print(add_numbers(5, 3)) Here add_numbers() is a function that takes two inputs (a and b) and returns their sum. Output: 8 🔥 Question for developers: What was the first function you created when learning programming? #Python #DSA #Coding #Programming #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
Removing Image Background Using Python In this video, I show how I removed the background from an image using Python. I used the rembg library, which makes the process very simple and fast. With just a few lines of code, the background can be removed automatically. I’m sharing this as part of my learning journey in programming and exploring how Python can be used for real tasks. More projects coming soon. #Python #Coding #Learning #Programming #Developers #matplotlib
To view or add a comment, sign in
-
🚀 Today’s Learning – Python Loops & Control Statements 🐍 Today I learned some very important Python concepts that are used in real-world programming: 🔹 For Loop – Used when we know how many times to run a loop 🔹 While Loop – Used when we don’t know the exact number of iterations 🔹 Break – Stops the loop immediately 🔹 Continue – Skips the current iteration and moves to the next 🔹 Pass – A placeholder that does nothing (used when syntax is required) 💡 These concepts are very useful in: Data processing Automation tasks Validation logic Real-world problem solving 📌 Practicing these concepts is helping me improve my logic building step by step. #Python #LearningJourney #Coding #ForLoop #WhileLoop #Programming #DataScience #BeginnerToAdvanced #FullStackAcademy
To view or add a comment, sign in
-
-
Calendar & Reminder App using Python Excited to share my latest mini project! I built a simple yet useful Calendar and Reminder Application using Python. ✨ What it does: • Displays a monthly calendar • Lets users navigate between months • Add, view, edit, and delete reminders • Stores reminders for future use This project helped me understand: • Date & time handling (datetime) • Calendar module usage • File handling (for saving reminders) • Building user-friendly console applications A small step towards building practical and real-world Python applications! #Python #Projects #Programming #StudentDeveloper #Coding #PythonProjects #LearningByDoing Pinnacle Labs
To view or add a comment, sign in
Explore related topics
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