In python write a program that: Function arguments For this exercise, you are asked to code three (3) functions that do nothing (execute the pass statement), but accept different combinations of positional arguments, named arguments (mandatory or not) and star or double star arguments, with potentially default values. Your duties must be called respectively: function1, function2, and function3. For function1, it must accept three (3) positional arguments of which two (2) are mandatory and one (1) has a zero (integer) default value. You are free to name these arguments as you see fit. For function2, it must accept one (1) mandatory positional argument and two (2) mandatory arguments named kw1 and kw2 with default values of None and '', respectively. For function3, it must accept an arbitrary number of positional values or named values.
In python write a program that:
Function arguments
For this exercise, you are asked to code three (3) functions that do nothing (execute the pass statement), but accept different combinations of positional arguments, named arguments (mandatory or not) and star or double star arguments, with potentially default values. Your duties must be called respectively:
function1,
function2,
and function3.
For function1, it must accept three (3) positional arguments of which two (2) are mandatory and one (1) has a zero (integer) default value. You are free to name these arguments as you see fit.
For function2, it must accept one (1) mandatory positional argument and two (2) mandatory arguments named kw1 and kw2 with default values of None and '', respectively.
For function3, it must accept an arbitrary number of positional values or named values.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)