Computer Science, asked by krishnendu9756, 1 year ago

How are floating constants represented in python?

Answers

Answered by vini200470
3

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.

Explanation:

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

Similar questions