What Will Be The Output Of The Following Python Functionp Pre #626
What will be the output of the following Python function?</p> <pre><code class="language-python">float(‘-infinity’) float(‘inf’)</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Built-in Functions - Python Built-in Functions - Quiz No.3.
What will be the output of the following Python function?
float(‘-infinity’) float(‘inf’)
–inf inf
–infinity inf
Error Error
Error Junk value