Question: How do I write a python function isExponentialFloat ( ) that returns true if a number is in correct exponential format i . e .
How do I write a python function isExponentialFloat that returns true if a number is in correct exponential format ieee or e and and returns false for any other format.
Need to use both of these in determining if a
isDigPeriod to determine if number has digits and periods only... followed by
a isInt$
resulting in a getting a false
isInt to determine if number is an intereg with can include negative, zero or poositive
a isInt
resulting in a getting a true
FOLLOWED BY
a e
If true for both prints "This number is an ExponentialFloat" or if either or both are false prints "This number is not an ExponentialFloat".
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
