How to print something on the basis of data (input) type?
<p>I want to print different things when <code>input()</code> gets different data types. I have the following script:</p>

<pre><code>#!/usr/bin/env python
#-*- coding:utf-8 -*-

f = input("Please enter a number: ")

if f == type(int):
    print("That's good")
elif f == type(str):
    print("That isn't a number.")
else:
    print("BrainOverflow")
</code></pre>

<p>This script always returns the else part.</p>
