title: Check if a given string is a exponential and then check if it is a whole number?
body: <p>I am using tkinter to build an application. I have a entry box which when i get the value it returns a string.</p>
  <p>where, n_term= entry variable</p>
  <p>I can check if it is a integer or not, by using: 'try: str.isdigit(n_term)...',</p>
  <p>is there a similar function to check if when user enters a exponential in a string form, eg. &quot;2e5&quot;, it checks if it is a whole number.</p>
  <p>Test data: &quot;2e5&quot;, &quot;2.222e2&quot;</p>
  <p>where:
  &quot;2e5&quot; = true as 2e5 == 2x10^5 == 200000, a integer <br />
  &quot;2.222e2&quot; = false as 2.222e2 == 2.222x10^2 == 222.2, a float</p>