Today as a part of the 100-day Python full-stack journey at Codegnan : 1. Gained a foundational understanding of variables in Python, including their purpose in storing and managing data efficiently. 2. Learned the rules and naming conventions for variables, ensuring code readability, consistency, and adherence to Python standards. 3. Explored techniques for assigning multiple values to multiple variables in a single statement, improving coding efficiency. 4. Understood how to assign a single value to multiple variables simultaneously, enabling cleaner and more concise code. 5. Studied the concepts of identifiers and literals, recognizing their roles in defining variables and representing constant values in Python programs. 6. Developed knowledge of type casting, allowing conversion of data from one type to another as required. 7. Practiced using the type() function to identify and verify the data type of variables during program execution. 8. Learned about built-in data types (such as int, float, string, list, tuple, etc.) and gained an introduction to user-defined data types. 9. Explored type conversion techniques, both implicit and explicit, to ensure proper data handling and avoid errors. 10. Applied all the learned concepts by developing a Command Line Interface (CLI)-based Fee Calculator, demonstrating practical implementation and problem-solving skills. #codegnan #pythonfullstack #GenerativeAI #github #git #python #learning #consistency
Python Fundamentals: Variables, Data Types & CLI Fee Calculator
More Relevant Posts
-
🚀 Learning Python the Practical Way: Understanding Virtual Environments Over the past few days, I started learning Python and decided to focus on building instead of just reading syntax. Today, I explored one of the most important concepts for any developer: Virtual Environments (venv) Here’s what I understood: 🔹 A virtual environment is an isolated Python setup for a specific project 🔹 It prevents version conflicts between different projects 🔹 Each project can have its own dependencies without affecting others 💡 Why it matters: While working on multiple projects, different versions of the same library can break things. Virtual environments solve this by keeping everything separate and controlled. 🛠️ What I practiced: Creating a virtual environment Activating and deactivating it Installing packages inside it Understanding how Python uses project-specific paths This concept is very similar to how we manage dependencies in Node.js projects, but implemented differently in Python. Next step: Building a simple backend server using FastAPI to apply this knowledge in real projects. #Python #BackendDevelopment #FastAPI #WebDevelopment #LearningInPublic
To view or add a comment, sign in
-
-
🚀 Mastering loops in Python: From beginner to pro! 🐍 Looping in Python is a powerful technique to perform repetitive tasks efficiently. It allows you to iterate over a sequence of elements and execute the same block of code multiple times. For developers, mastering loops is essential as it helps in automating tasks, processing large datasets, and improving code readability. 🛠️ Let's break it down: 1️⃣ Initialize a counter variable 2️⃣ Set the loop condition 3️⃣ Execute the code block 4️⃣ Update the counter variable ```python for i in range(5): print("Iteration:", i) ``` 🚩 Pro Tip: Use a `break` statement to exit a loop prematurely when a certain condition is met. ❌ Common mistake: Forgetting to increment the counter variable can result in an infinite loop. 🤔 What's your favorite use case for loops in Python? Share in the comments below! 💬 🌐 View my full portfolio and more dev resources at tharindunipun.lk #PythonProgramming #LearnToCode #CodeNewbie #DeveloperTips #PythonLoops #CodingJourney #TechSkills #CodeWithPurpose
To view or add a comment, sign in
-
-
🚀 Day 13 of my Python Full Stack Development Journey Today’s session focused on Continuation of Tuples and an introduction to the Set Data Structure in Python. 🔹 Tuples – Continuation • Applied concatenation ("+") and multiplication ("*") operators on tuples • Converted list → tuple and tuple → list • Summarized key characteristics: – Immutable in nature – Order of insertion is preserved – Duplicates are allowed – Supports heterogeneous data – Indexing and slicing are applicable – Tuple comprehension is not supported 🔹 Introduction to Sets • Learned how to create sets • Used the "set()" function • Understood how to create an empty set • Explored important built-in functions: "add()", "update()", "copy()", "pop()", "remove()", "discard()", "clear()" 💡 This session helped me understand the differences between tuples and sets, and when to use each effectively. 🙏 Thanks to G.R NARENDRA REDDY Sir and Global Quest Technologies for their continuous guidance and support. #Python #FullStackDevelopment #LearningJourney #DataStructures #Coding #Programming
To view or add a comment, sign in
-
-
🚀 Day 1 at Codegnan – Learning Python Basics Excited to start my Python journey! Here are some key takeaways from today: 🔹 Python is a high-level language – easy to read and handles memory management automatically 🔹 Learned how to create and use variables 🔹 Explored id() to understand how Python stores objects in memory 🔹 Used f-strings for clean and readable output formatting 🔹 Practiced basic arithmetic operations in Python 🔹 Understood that programs don’t store data permanently unless explicitly saved 🔹 Learned about basic data types like integers and strings using type() 🔹 Got an introduction to Object-Oriented Programming (OOP) 💡 Key Insight: Writing clean and simple code is one of Python’s biggest strengths. Looking forward to diving deeper into Python and building real-world projects! 💻✨ #Python #CodingJourney #Learning #Codegnan #Programming #100DaysOfCode #SaiRamSir #BhanuTejaGarikapati
To view or add a comment, sign in
-
-
Unlock the secrets of Python file handling and take your coding skills to the next level Learn how to navigate Python's file operations, from file creation to reading and writing, and discover the importance of file paths and modes Gain hands-on experience with different file types and learn how to handle them effectively, whether it's text, images, or videos PythonFiles MasteringPython ITFreshersGuide PythonTutorials FileHandling TechLab Read the full article 👉 https://lnkd.in/dPKRdP5U #PythonFiles #MasteringPython #ITFreshersGuide #PythonTutorials #FileHandling #TechLab Code. Learn. Build. — TechLab by Neeraj
To view or add a comment, sign in
-
Day 22–26 – OOPs in Python | Codegnan Journey Continuing my Python Full Stack journey at Codegnan, these days were focused on understanding Object-Oriented Programming (OOPs) in Python. What I Covered: 🔹 Classes and Objects 🔹 Constructors and Initialization 🔹 Encapsulation and Abstraction 🔹 Inheritance (Single, Multiple, Multilevel) 🔹 Polymorphism (Method Overloading & Overriding) Key Insight: OOPs helps in structuring programs in a better way by organizing code into reusable and manageable components. It plays a major role in building scalable and real-world applications. Practiced multiple programs to clearly understand how OOP concepts work in real scenarios. Grateful for the guidance and support Saketh Kallepu Anand Kumar Buddarapu Uppugundla Sairam Pooja Chinthakayala Excited to apply these concepts in real-world projects
To view or add a comment, sign in
-
Day 10 of my Python learning journey 🐍 Today I spent time practicing more problems on functions to strengthen my understanding and improve my coding skills. Along with that, I learned about modules and packages in Python. Modules help organize code into separate files, and packages allow us to group multiple modules together in a structured way. I also created a custom package and understood the role of the __init__.py file, which helps Python recognize a directory as a package and allows better control over how modules are imported. This helped me understand how larger applications are structured and how to write cleaner and more maintainable code. My work is here https://lnkd.in/gGsjWtee #Python #100DaysOfCode #LearningInPublic #Django #MachineLearning #DSA 🚀
To view or add a comment, sign in
-
-
Day 46 : Python Conditional Statements – If/Else Today I understood the conditional statements used in Python. Hands-on : - Today I learned about conditional statements in Python, which are used to control the flow of a program based on conditions. - I started with the basic syntax of the if statement, understanding how Python evaluates conditions and executes code blocks. -I then explored the if/else statement, which allows execution of alternate code when a condition is false. - Moving forward, I practiced if/elif/else statements to handle multiple conditions efficiently. - I also learned how to write if/else in a single line (ternary operator), which makes simple conditions more concise. - Finally, I explored nested if/else statements, where one condition is placed inside another to handle more complex logic. Result : - Successfully understood how to implement conditional logic in Python using different forms of if/else statements. Key Takeaways : - If statement executes code only when a condition is true. - If/Else provides an alternative execution path. - If/Elif/Else helps handle multiple conditions efficiently. - One-line if/else (ternary) makes code concise for simple conditions. - Nested conditions allow handling complex decision-making scenarios. #Python #Programming #DataAnalytics #LearningJourney #ConditionalStatements #CodingBasics #DataScience #BeginnerPython #AnalyticsSkills
To view or add a comment, sign in
-
-
1. As part of my 100-day Python Full Stack journey at Codegnan, I learned about tuples in Python and their role as an immutable data structure. 2. I explored how tuples are created, accessed, and used to store multiple values in a single variable efficiently. 3. I practiced working with tuple indexing, slicing, and iteration, which helped me understand how to retrieve and process data stored in tuples. 4. I executed several Python programs to understand the practical usage of tuples in real-world scenarios, especially where data should remain unchanged. 5. This session strengthened my understanding of data structures in Python and improved my problem-solving skills through hands-on coding practice. #python #dsa #fullstackinpython #generativeai #codegnan Codegnan Uppugundla Sairam Saketh Kallepu
To view or add a comment, sign in
-
-
🚀 Day 12 of Python Coding Challenge 📌 Problem: Count Total Number of Characters in a File Understanding file handling is a fundamental skill in Python. Today’s task is to count the total number of characters in a given file. 💡 Approach: Open the file in read mode Read the file content Use len() to count characters 🧠 Python Code: def count_characters(file_path): try: with open(file_path, 'r') as file: content = file.read() return len(content) except FileNotFoundError: return "File not found." # Example usage file_path = "sample.txt" result = count_characters(file_path) print("Total characters in file:", result) ✅ Sample Output: Total characters in file: 12 🔍 Key Learnings: File handling using open() Using with statement for safe file operations Applying len() on strings 📢 Pro Tip: If you want to exclude spaces or newline characters, you can filter them before counting! 🔥 Keep Learning, Keep Growing! Follow along for more daily Python problems. #Python #CodingChallenge #Day12 #LearningJourney #30DaysOfCode
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