QuestionQ210

VerifiedComputer Programming and Python Fundamentals

What is the expected output from the following code?

Question Image

Explanation

Scientific-notation numeric literals such as 1E10 are floating-point values, and applying unary + does not change their type. A value written with a decimal point is a float, quoted text is a str, and the literal False has type bool.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!