PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
The function complex('2-3j') is valid but the function complex('2 - 3j') is invalid. State whether this statement is true or false.
A. True
B. False
Show Answer
Next Question
Correct Answer:
A
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.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap