# Conversion Check Functions for Assignment 3

def couldBeFloat(s):
   try: float(s)
   except (ValueError, TypeError), e: return False
   return True

def couldBeInt(s):
   try: int(s)
   except (ValueError, TypeError), e: return False
   return True
