What is the imaginary part of the complex number 3 + 4j ?
A. 3
B. 4
C. 4j
D. 3j
Answer: Option B
A. 3
B. 4
C. 4j
D. 3j
Answer: Option B
What data type is used to represent a sequence of characters in Python?
A. string
B. char
C. text
D. str
What is the purpose of the str() function in Python?
A. To convert a string to a number
B. To format strings
C. To concatenate strings
D. To convert a number to a string
Join The Discussion