Bạn đang xem thử công khai
Đăng nhập để lưu tiến độ, làm bài tập, thảo luận và nhận phản hồi.
After this unit you will: package a task into a reusable function and understand where variables live.
def power(base, exp=2).*args collects extra positional arguments into a tuple; **kwargs collects keyword arguments into a dict.lambda x: x ** 2 is a one-line anonymous function.global.