1. error
2. 0 1 2 0
3. 0 1 2
4. none of the mentioned
0 1 2
1. error
2. 1 2 3 4
3. a b c d
4. 0 1 2 3
0 1 2 3
1. System function
2. Custom function
3. Built-in function & User defined function
4. User function
Built-in function & User defined function
1. 5
2. 8
3. 2
4. 1
5
1. {1, 2, 3}
2. {}
3. [1, 2, 3]
4. (1, 2, 3)
(1, 2, 3)
1. Error
2. True
3. False
4. No output
True
1. 4
2. 4.6
3. 5
4. 4.5
5
1. In Python all functions should have a docstring
2. Docstrings can be accessed by the __doc__ attribute on objects
3. It provides a convenient way of associating documentation with Python modules, functions, classes, and methods
4. All of the mentioned
All of the mentioned
1. Hello (‘foo’, ‘bin’) and (‘foo’, ‘bin’)
2. Error
3. Hello foo and bin
4. None of the mentioned
Hello foo and bin
1. 9.0
2. None
3. 9
4. None of the mentioned
9.0