💡 For the best experience, set your browser zoom level to 75%

    ‎75%‎ للحصول على أفضل تجربة، اضبط مستوى تكبير المتصفح على 💡

Skip to main content

Lesson 10 - Assignment

Write a Python script that includes the following:

1.    A function called full_name that takes first_name and last_name as arguments and returns the full name.

2.    A function called sum_all that uses arbitrary arguments (*args) and returns the sum of all values passed.

3.    A lambda function that squares a number.

4.    Call all these functions and print the results clearly.