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 i.e.2.4e3,-3.21e2 or -12.33e-3 and and returns false for any other format.
Need to use both of these in determining if a =...
1.
isDigPeriod() to determine if number has digits and periods only... followed by
a = isInt("$3")
resulting in a getting a false
2.
isInt() to determine if number is an intereg with (can include negative, zero or poositive)
a = isInt("-58")
resulting in a getting a true
FOLLOWED BY...
a ='3.7e5'
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!