Day 5/100: Automation and Iteration with Python! Today, I unlocked one of the most powerful tools in programming: Loops. It’s amazing how a few lines of code can handle repetitive tasks in milliseconds! Key Learnings from Day 5: The for Loop: Iterating through lists and using the range() function. Mathematical Functions: Using sum() and max() to analyze data without manual calculation. Logic Building: Combining loops with conditional statements to solve complex problems. Daily Project: Password Generator I built a secure Password Generator that asks the user for the number of letters, symbols, and numbers they want. It then shuffles them to create a highly secure, randomized password. Seeing how automation works is making me even more excited for the next 95 days! Check out my daily progress here: https://lnkd.in/edbJz2bW #Python #100DaysOfCode #Automation #Security #CodingNewbie #Programming
Unlocking Loops with Python: Day 5 of 100
More Relevant Posts
-
🧮 Basic Calculator using Python I recently developed a Basic Calculator using Python to strengthen my understanding of programming fundamentals and logical problem solving. This command-line application performs arithmetic operations such as addition, subtraction, multiplication, and division. The program is structured using separate functions for each operation, conditional statements to process user choices, and a loop-based menu system that allows users to perform multiple calculations until they choose to exit. Through this project, I practiced core Python concepts including functions, loops, conditional logic, and user input handling, while building a simple interactive console-based application. 💻 Source Code: https://lnkd.in/gsc7Jwpq #Python #Programming #Coding #SoftwareDevelopment #LearningJourney
To view or add a comment, sign in
-
-
🚀 Python Practice Journey – From Basics to Logic Building 🐍 Today I practiced 20 essential Python programs that help build strong programming logic 💡 ✨ Here’s what I covered: 🔢 Print numbers (1–100) ⚡ Even numbers using loops ➕ Sum of first N natural numbers 📊 Multiplication table 🧮 Factorial using loops 🔁 Reverse a number & count digits 📋 Largest & smallest element in list ➕ Sum of list elements ⚖️ Count even & odd numbers 🔄 Reverse list without built-in functions 🚫 Remove duplicates from list 🥈 Second largest element 🔀 Swap two numbers without third variable 🔎 Prime number check 🌟 Armstrong number logic 🔁 Palindrome number check 🧑💻 Simple calculator using operators 💪 Power calculation without ** operator ✅ This practice improved my: • Loop logic • Condition handling • List operations • Problem-solving skills • Basic algorithm thinking Consistency is the key 🔑 — Small practice daily leads to big improvement 🚀 #Python #CodingJourney #Programming #LogicBuilding #PythonPractice #DeveloperLife #LearningInPublic
To view or add a comment, sign in
-
Day 5 of my 100 Days of Code challenge! 💻🐍 Today I built a Password Generator in Python along with completing the classic FizzBuzz problem. 🔐 Password Generator A program that creates a secure password based on user input. The user chooses how many letters, numbers, and symbols they want, and the program randomly generates and shuffles them to create a strong password. 🔢 FizzBuzz A classic problem where numbers from 1–100 are printed, but multiples of 3 show “fizz”, multiples of 5 show “buzz”, and multiples of both show “fizzbuzz”. Today’s focus was practicing: • Loops (for loops) • The random module • Lists and list manipulation • The modulo operator % • Building and combining logic step by step Learning in public and documenting my journey into software engineering. Check out the projects here: https://lnkd.in/eCYaEybF #100DaysOfCode #Python #SoftwareEngineering #LearningInPublic #CodingJourney
To view or add a comment, sign in
-
Python Journey — Day 16 | Advanced List & String Functions Today I practiced implementing advanced list and string operations using functions and improved my problem-solving with real scenarios. 10000 Coders Problems I solved : • Insert element at a specific index in a list • Remove all instances of a value from a list • Get index of an element in a list • Square all elements in a list • Filter out negative numbers • Get elements greater than a given value • Find duplicate elements in a list • Rotate list elements to the right • Check if a list contains a value • Split list into smaller chunks • Implement swapcase() using logic • Implement strip() using logic • Implement replace() using logic • Implement rfind() using logic • Implement isupper() using logic • Implement startswith() and endswith() I implemented these problems using functions, loops, and manual logic instead of built-in methods to clearly understand how these operations work internally #Python #PythonDeveloper #10000Coders #Programming ##LearningJourney #ProblemSolving #CodeEveryDay #KeepLearning
To view or add a comment, sign in
-
🚀 𝐃𝐚𝐲 14/60 – 60-𝐃𝐚𝐲 𝐏𝐲𝐭𝐡𝐨𝐧 𝐂𝐡𝐚𝐥𝐥𝐞𝐧𝐠𝐞 🦾 Today's topic is "𝐏𝐚𝐫𝐚𝐦𝐞𝐭𝐞𝐫𝐬 𝐚𝐧𝐝 𝐫𝐞𝐭𝐮𝐫𝐧 𝐯𝐚𝐥𝐮𝐞𝐬" Function parameters and return values are the building blocks of clean, reusable Python code. Parameters allow you to pass data into functions, enabling customization without altering function internals, while return values provide a 𝒄𝒍𝒆𝒂𝒓, 𝒆𝒙𝒑𝒍𝒊𝒄𝒊𝒕 outcome from a function, making your results easy to test and compose into larger workflows 𝐄𝐱𝐚𝐦𝐩𝐥𝐞: 𝘥𝘦𝘧 𝘢𝘥𝘥(𝘢, 𝘣): 𝘳𝘦𝘵𝘶𝘳𝘯 𝘢 + 𝘣 𝘱𝘳𝘪𝘯𝘵(𝘢𝘥𝘥(3, 5)) # Output: 8 This demonstrates how functions receive inputs (parameters) and produce an output (return value), a pattern that underpins modular and maintainable software. Understanding these functions made me realize how programs make decisions and perform actions based on logic. They may look like simple symbols, but they are essential for writing meaningful code. Step by step, building stronger logic. 😆 #learning #python #consistency #challenge #60days #coding #programming #parameters
To view or add a comment, sign in
-
-
(DAY-6) Python is a powerful and versatile programming language known for its simple syntax and wide range of applications such as web development, data science, automation, and machine learning. Created by Guido van Rossum in 1989 and first released in 1991, Python has evolved through many versions to become one of the most popular programming languages today. Its readability, strong library support, and flexibility make it a favorite choice for developers and data professionals worldwide. #Python #Programming #DataScience/#Analytics #Coding
To view or add a comment, sign in
-
-
Day 3 of my 100 Days of Code challenge! 💻 Today I focused on practicing conditional logic in Python by building three small projects: • Treasure Island – a text-based adventure game where user choices determine the outcome. • Rollercoaster Ticket Calculator – checks height eligibility and calculates ticket prices based on age and add-ons. • Python Pizza Order Program – calculates the final bill based on pizza size and extra options. These projects helped me practice if/elif/else statements, nested conditionals, and structuring decision-based logic in Python. I’m learning that programming is really about breaking problems down step by step and writing clear logic to solve them. Learning in public and documenting my journey into software engineering. Check out the projects here: https://lnkd.in/g8iMbh-V #100DaysOfCode #Python #SoftwareEngineering #LearningInPublic #CodingJourney
To view or add a comment, sign in
-
I recently built Life Dashboard, a Python command-line project that I can actually use to track my workouts and study sessions in one place. It lets me log entries, group them by date, calculate daily totals, save and load data locally, and includes testing functions to make sure everything works properly. It can also be cloned and run locally, and it automatically creates the required data file on first run, which I wanted to make as simple as possible. Building it helped me get more comfortable with Python, debugging, validation, file handling, and writing cleaner, more organized code. It was nice working on something practical instead of just theoretical, and I already have ideas for future improvements like better filtering and eventually moving it to SQLite. https://lnkd.in/eA6CXn5T #Python #SoftwareEngineering #Programming #CarletonUniversity #Coding #Projects
To view or add a comment, sign in
-
-
🚀 Excited to share my Python Projects Collection on GitHub! This repository contains several small projects I built while learning and practicing Python. Note: I did this project almost one year ago. Some of the projects included: • Self-Driving Car simulation • QR Code Generator • Text to Audio Converter • Email Validation Tool • Mathematical problem solving scripts • Simple Python games I will continue adding more projects in future! Feel free to explore the repository and share your feedback! 🔗 GitHub Repository: [https://lnkd.in/gv8xxccM] #Python #Programming #LearningInPublic
To view or add a comment, sign in
-
-
Day 3 of My Python OOP Learning Journey On Day 3 of my learning journey, I created a simple ATM Simulation System using Python. Concepts I Practiced: 1. Encapsulation (Private variables like __balance) 2. Inheritance (Savings and Current Account) 3. Method Overriding (Custom Withdrawal Logic) 4. Tracking Transactions 5. Menu-driven interaction Features of My Project: * Depositing and Withdrawing Money * Balance Inquiry * Transaction History * Interest Calculation (Savings Account) * Overdraft Facility (Current Account) Challenges Faced: * Working with private variables in the child classes * Resolving constructor-related errors * Handling User Input Flow Key Learning: Learning the potential of Object-Oriented Programming to simulate the behavior of real-world systems like ATM machines was a game changer for me. #Python #OOP #CodingJourney #30DaysOfCode #LearningByDoing
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