InterviewSolution
Saved Bookmarks
| 1. |
How are floating constants represented in python? Give example to support your answer? |
|
Answer» FLOATING numbers are also know as real values ,they are written as decimal points by dividng the decimal and the FRACTION parts.The integer PORTION of the fraction doesn't look familier with the octal integers. At first we take an input which is NON NEGATIVE integer n which computes the approximate value of e using the n+1 terms. e≅2+1/1+1/2+2/3+3 for 2 the output will be 2.7272 |
|