Q.

The function complex(‘2-3j’) is valid but the function complex(‘2 – 3j’) is invalid.

A. true
B. false
Answer» A. true
Explanation: when converting from a string, the string must not contain any blank spaces around the + or – operator. hence the function complex(‘2 – 3j’) will result in an error.
1.7k
0
Do you find this helpful?
14

Discussion

No comments yet