How to Check if variable in Python is a Number

How to Check if variable in Python is a Number