🐍 90 Days of Python – Day 16 Function Arguments & Return Values Today, I went deeper into functions in Python by learning how arguments and return values work. Functions become truly useful when they can accept inputs and produce outputs, making them flexible and reusable. 🔹 Key concepts I covered today: • Passing arguments to functions • Using multiple parameters • Understanding return statements • How functions send results back to the caller Arguments allow functions to work with different data, and return values help pass results to other parts of the program. This makes functions a powerful tool for building modular and dynamic programs. 📌 Day 16 completed. Making functions more flexible and reusable. 👉 Do you prefer functions that return values or functions that just perform actions? #90DaysOfPython #PythonLearning #LearningInPublic #PythonFunctions #ProgrammingBasics #BTechCSE
Python Functions: Arguments & Return Values Explained
More Relevant Posts
-
Python isn’t popular by accident , it’s powerful because of its simplicity and flexibility. Here’s a quick breakdown of the Top 7 Python data types every developer should master, from handling numbers and strings to structuring real-world data with lists, tuples, and dictionaries. At CourseCode, we focus on teaching Python the right way: ➡️ fundamentals first ➡️ practical examples ➡️ real-world application Whether you’re sharpening your skills or building production-ready systems, mastering data types is non negotiable. 🚀 Learn smart. Build better. 🔗 Project link: [ https://lnkd.in/dFSgX4f6 ] #Python #SoftwareEngineering #Programming #DataTypes #CourseCode #TechEducation
To view or add a comment, sign in
-
-
For almost a decade, I did not pay much attention to Python’s collections library. Once I started using it, I realized how much simpler many problems could be. Have you ever wondered why Python has a collections library when we already have list and dict? The collections module provides specialized data structures like Counter, defaultdict, deque, and more, each designed to solve very specific problems. If you believe good code starts with good data structures, then Python's collections library is worth mastering. #Python #Collections #DataStructures #CleanCode #CodeQuality #DeveloperTips
To view or add a comment, sign in
-
Python Foundations 2026 – Part 7 Functions are what turn messy code into clean, reusable logic. In Part 7 of our Python Foundations series, we explore: • What functions are • Why they matter • How to define and use them • Understanding parameters and return If you can write functions, you can structure real Python programs. Learn more: https://lnkd.in/ejuVfi2c Python lessons → Wednesdays Other tech articles → Mondays Next up: A mini Python project. #Python #LearnToCode #Programming #BeginnersInTech #TechEducation #Python2026 #JMSM #KNKA
To view or add a comment, sign in
-
-
Day 9 of learning Python! 🐍 Control Flow Statements 🔀 Control how your code executes with these: 1️⃣ if - Execute if condition is True 2️⃣ if-else - Choose between two paths 3️⃣ if-elif-else - Check multiple conditions 4️⃣ Nested if - if inside another if Example - Grade Calculator: if marks >= 90: print("A Grade") elif marks >= 75: print("B Grade") else: print("C Grade") Remember: Indentation matters in Python! Use 4 spaces. Which control flow do you use most? 👇 #Python #100DaysOfCode #LearnPython #ControlFlow
To view or add a comment, sign in
-
-
Python for Beginners 2026 The Python for Beginners journey is moving forward, and we’ve already covered some important foundational concepts step by step. What we’ve learned so far: - Python basics & variables - User input, operators & conditional statements - Loops and logic building - Functions and code reusability - Data Structures in Python (List, Tuple, Dictionary, Set, Frozenset) - Syntax, examples, and commonly used methods This course is designed to build strong fundamentals, focusing on clarity, practice, and real understanding - not just theory. Reminder: “Learning never stops. Every day is a new step towards becoming better.” We’ll continue exploring more Python concepts, practical examples, and real-world use cases in the upcoming sessions. Stay connected #PythonForBeginners #LearningInProgress #PythonProgramming #CodingJourney #DeveloperCommunity #ContinuousLearning #NewYearNewSkills
To view or add a comment, sign in
-
Python Foundations 2026 – Part 4 Loops are where Python becomes truly powerful. In Part 4 of our Python Foundations series, we break down: • What loops are • How for loops work • How range() controls repetition Loops help Python repeat tasks efficiently instead of rewriting code again and again. If you understand loops, you unlock automation, data processing, and smarter programs. Python lessons → Wednesdays Other tech articles → Mondays Next up: Conditional logic (if, elif, else). Learn more: https://lnkd.in/dYAKyDmy #Python #LearnToCode #Programming #BeginnersInTech #TechEducation #Python2026 #JMSM #KNKA
To view or add a comment, sign in
-
-
Day 37 | Python OOP – Inheritance 🚀 Today I practiced Inheritance in Python, focusing on how classes reuse and extend functionality. 🔹 Covered concepts: • Single Inheritance • Multilevel Inheritance • Multiple Inheritance • Constructor inheritance using super() • Protected variables (_balance) • Method overriding • isinstance() with inheritance • Method Resolution Order (MRO) 🔹 Key learning: Inheritance helps in code reusability, better structure, and real-world modeling, which is heavily tested in interviews. Consistent practice is building my confidence in Python OOP fundamentals 💪 #Python #OOP #Inheritance #LearningEveryday #Programming #InterviewPreparation #Day37
To view or add a comment, sign in
-
-
Python Foundations 2026 – Part 6 Real programs work with collections of data—and that’s where lists and strings come in. In Part 6 of our Python Foundations series, we cover: • What strings are and how to access characters • How lists store multiple values • Using indexing and len() effectively Mastering lists and strings unlocks real-world Python use cases. Python lessons → Wednesdays Other tech articles → Mondays Next up: Writing your own functions. Learn more: https://lnkd.in/emXWCQAg #Python #LearnToCode #Programming #BeginnersInTech #TechEducation #Python2026 #JMSM #KNKA
To view or add a comment, sign in
-
-
Built my first Python project — a simple calculator 🧮 This project helps me practice Python basics like taking user input, using conditional statements, and performing arithmetic operations. The calculator can do addition, subtraction, multiplication, and division, and handles division by zero safely. I’m sharing this to show my learning journey and consistency — more projects coming soon! GitHub repo (code available here): https://lnkd.in/duaDCU3n #Python #BeginnerProjects #LearningInPublic #ITStudent #CodingJourney
To view or add a comment, sign in
-
-
📘 Day 7 Python Progress: Understanding Functions and Modules. 😎 Today I covered the following topics in Python: 🔹 Functions. 🔹 User-Defined Functions. 🔹 Function Call. 🔹 Named Functions. 🔹 Optional / Default Parameter Arguments. 🔹 Return Statement. 🔹 Break Statement. 🔹 Continue Statement. 🔹 Local Variables. 🔹 Global Variables. 🔹 Statements. 🔹 Modules. 🔹 Importing a Module. 🔹 Using a Function from a Module. Consistently learning and building strong Python fundamentals 💪🚀 Hashtags....... #Python #PythonLearning #LearnToCode #CodingJourney #ProgrammingBasics #Day7 #100DaysOfCode
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