View Answer
Workspace
Discuss in Forum
Share
Copy Text
Copy URL
As Image
Answer : Option C
Explanation :
First this expression will solve 1**3 because exponential have higher precedence than multiplication, so 1**3 = 1 and 3*1 = 3. Final answer is 3.
Answer : Option A
Execute help(round) in the shell to get details of the parameters that are passed into the round function.
List datatype can store any values within it.
x is equivalent to -(x+1).
Answer : Option B
Python rounds off numbers away from 0 when the number to be rounded off is exactly halfway through. round(0.5) is 1 and round (-0.5) is -1.
Answer : Option D
Identifiers can be of any length.
True, False and None are capitalized while the others are in lower case.
Spaces are not allowed in variable names.
Class is a user defined datatype.