🚀 Day 4 of My Python Learning Journey Today I learned about Control Flow in Python 🐍 Control flow helps a program make decisions and repeat tasks based on conditions. ✅ Topics Covered: 🔹 Conditional Statements • "if" statement • "if-else" • "if-elif-else" 🔹 Looping Statements • "for" loop • "while" loop 🔹 Control Statements • "break" • "continue" • "pass" 📌 Example: age = 18 if age >= 18: print("Eligible to vote") else: print("Not eligible") 💡 Control flow makes programs smart by allowing decision-making and repetition. Learning step by step towards becoming a better programmer 🚀 #Python #PythonLearning #ControlFlow #CodingJourney #10DaysOfCode #Programming #DeveloperLife
Pushkar Kumar’s Post
More Relevant Posts
-
🚀 Day 23/100 – Python Learning Journey Today I learned how to generate a QR Code using Python. QR codes are widely used for sharing links, payments, and quick access to information. Using the qrcode library, I created a simple QR code that can store text or links and save it as an image. 🔹 Key Steps: • Installed the library using "pip install qrcode" • Imported the qrcode module in Python • Generated a QR code from text • Saved it as a PNG image 💡 What I learned: • Working with external Python libraries • Generating images programmatically • Simple automation using Python Python makes it incredibly easy to build small but powerful utilities like QR code generators. Looking forward to learning more tomorrow! 💻 #Day23 #100DaysOfCode #Python #LearningJourney #Coding #DataAnalytics #Programming #TechLearning
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 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 🚀💻
To view or add a comment, sign in
-
-
🚀 Day 2 of my Python Learning Journey! Today I focused on Control Flow (Conditional Statements) and learned how programs make decisions 🤯 📌 Topics Covered: ✅ if, else, elif statements ✅ Nested conditions ✅ Short-hand if-else ✅ match-case (Python switch alternative) 💻 Practice Programs: ✔️ Check even or odd number ✔️ Find largest among 3 numbers ✔️ ATM withdrawal system ✔️ Age-based conditions Understanding logic building is the most important step in programming 🔥 Every day I’m getting closer to becoming a better developer 💻 👉 Consistency + Practice = Growth If you're learning too, let’s connect and grow together 🤝 #Day2 #PythonJourney #LearnInPublic #CodingJourney #Programming #Python #DeveloperLife #ProblemSolving #TechLearning #Consistency
To view or add a comment, sign in
-
🚀 Day 4 of My Python Learning Journey Today, I explored one of the fundamental concepts in programming — swapping two numbers — and implemented it using multiple approaches in Python. This exercise helped me understand how different techniques can achieve the same outcome with varying efficiency and logic. 🔹 Approaches I practiced: 1️⃣ Using a Temporary Variable A basic and beginner-friendly method where a third variable is used to hold data during the swap. 2️⃣ Without Using a Temporary Variable (Tuple Swapping) A Pythonic and efficient way leveraging multiple assignment in a single line. 3️⃣ Using Arithmetic Operations Swapping values using addition and subtraction, helping me understand value manipulation without extra space. 4️⃣ Using Bitwise Operators (XOR) A more advanced approach that swaps values using XOR logic, improving my understanding of low-level operations. Under the guidance of #Sanjeevsir 💡 This practice not only strengthened my understanding of variables and operators but also introduced me to different problem-solving perspectives in Python. 📈 Every day, I’m getting more comfortable with writing efficient code and exploring new concepts. #Python #LearningJourney #Day4 #Programming #FullStackDeveloper #ProblemSolving #Coding #10000coders #sanjeevch
To view or add a comment, sign in
-
-
Python Password Generator Project I 'm excited to share a small Project I built using python. This Project generates a strong and secure random Password using a combination of letters, numbers,and special characters. 💡 KEY FEATURES . user can choose Password length . uses random module for secure Password generation . include letters,digits,and special characters 🛠 Technologies Used: .Python This Project helped me practice python basics and logic building. #python #programming #coding #oasisinfobyte #Learning
To view or add a comment, sign in
-
🐍 Python List Methods Made Simple Mastering Python lists is easier when you know the core methods and how they behave. Here are some of the most useful ones with small usage examples: 🔹 append() → Add an element at the end 🔹 clear() → Remove all elements 🔹 copy() → Create a shallow copy of the list 🔹 count() → Count occurrences of an element 🔹 index() → Find index of first occurrence 🔹 insert() → Insert element at a given position 🔹 pop() → Remove and return element at index (default last) 🔹 remove() → Remove first occurrence of element 🔹 reverse() → Reverse the list in-place 💡 Tip: Play with these methods in a small list—it’s the best way to remember their behavior. #Python #PythonLists #CodingTips #LearnPython #Programming #TechEducation
To view or add a comment, sign in
-
-
Python Tutorial: Conditional Statements (Beginner Friendly Guide) Ever wondered how programs make decisions? 🤔 That’s where conditional statements come into play. In this tutorial PDF, I’ve explained: ✅ What are if, elif, else statements ✅ How programs take decisions based on conditions ✅ Easy examples for better understanding ✅ Visual representation to simplify logic This is a must-know concept if you’re starting your journey in Python or programming. 📘 Perfect for students and beginners who want to build strong fundamentals. Take a look and let me know your feedback! If it helps you, don’t forget to like, share, and support 🙌 #Python #LearnPython #Programming #Coding #PythonProgramming #Developers #Beginners #CodingJourney #ConditionalStatements #TechEducation
To view or add a comment, sign in
-
🐍 Python Essentials: Lists vs Tuples At first, both look similar — but the difference is powerful. 👉 Lists = Mutable (can change) 👉 Tuples = Immutable (fixed) Understanding this helps you write cleaner, more efficient, and safer code. Use Lists when flexibility is needed. Use Tuples when data should remain constant. Small concept. Big impact 💡 #Python #Programming #Coding #PythonBasics #DataStructures #Learning #Tech
To view or add a comment, sign in
-
-
📌 Break Statement in Python Continuing my Python learning journey, today I practiced the break statement. The break statement is used to immediately exit a loop when a specific condition becomes True. This is useful when: • We want to stop execution early • A required condition is met • We don’t want unnecessary iterations Learning step by step and building strong programming fundamentals every day. #Day8 #Python #Programming #CodingJourney #LearningPython #DataAnalytics
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