add python try-except code,safe version float()
add python basic knowledge from chapter 1-5,python basics come here
add type compare funtion,use types.IntType/is statement