MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Python Question and Answers Built-in Functions 2 knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The function complex( 2-3j ) is valid but the function complex( 2 3j ) is invalid. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 2. |
The function divmod(a,b), where both a and b are integers is evaluated as: |
| A. | (a%b, a//b) |
| B. | (a//b, a%b) |
| C. | (a//b, a*b) |
| D. | (a/b, a%b) |
| Answer» C. (a//b, a*b) | |