Learning Functions in Python for #100DaysOfPython Challenge

🎯 Day 15 of My #100DaysOfPython Challenge — Functions in Python! 🐍 Today’s focus was on one of the most powerful building blocks in Python — Functions 💡 🔹 What I learned: ✅ Defining and calling functions using the def keyword ✅ Understanding parameters and arguments ✅ Using return statements to send results back ✅ Exploring default, keyword, and positional arguments ✅ Learning about variable scope — local vs global variables ✅ Writing lambda (anonymous) functions for quick operations 🔹 Example: def greet(name): return f"Hello, {name}!" print(greet("Savita")) Output: Hello, Savita! 🔹 Key takeaway: Functions help break complex programs into smaller, reusable pieces — making code clean, modular, and efficient. ✨ #Day 15 #Python #LearningJourney #CodingChallenge #DataScience #WomenInTech #100DaysOfCode #FunctionsInPython #infosys_Springboard #herkey

To view or add a comment, sign in

Explore content categories