πŸ“Š Problem Solving and Python Programming
Q. The function complex(‘2-3j’) is valid but the function complex(‘2 – 3j’) is invalid.
  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct 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.


Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
204
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate