Computer Science, asked by vaibhavraibole1, 1 year ago

How floating constants represented in python? Give example to support your answer.

Answers

Answered by prabhleen3217
9

Answer:

floating numbers are also known as real numbers they are written as decimal points by dividing decimal and the fractional parts the integer portion of the fraction doesn't look familiar with 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

for exp for 2 output will be 2.7272

Similar questions