Mastering Functions in Python
This course will help you dive deep into the world of function constructs in Python. You will revisit the basics of functions, explore advanced topics like lambda expressions and recursion, and master techniques essential for efficient and effective function usage within your programs.
Lessons and practices
Adding a Function for Three Integers
Greeting Function with Default Parameter
Calculate Discounted Price with Default Parameters
Finding the Maximum Value in a List
Sum of Elements in a List
Summing Values in Lists and Dictionaries
Concatenate Multiple Strings Using *args
Modifying the append_zero Function to Return a New List
Modifying the swap_first_last Function to Avoid Original List Alteration
Reverse List and Append Value
Fix the Increment Function
Updating Scores in a Dictionary
Replace Adder Function with Lambda Function
Replace Regular Function with Lambda Function
Formatting Integers and Floats with Lambda Functions
Calculate Rectangle Area Using Lambda Function
Create a List of Squares for Even Numbers Using a Lambda Function
Counting Digits Recursively
Sum of Digits Using Recursion
Fix the Recursive Factorial Function
Calculating Fibonacci Numbers with Recursion
Summing Even Digits Recursively
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.