if c == 'I':
    return 1
elif c == 'F':
    return 1.0
elif c == 'S':
    return '1'
return None
type(f())
type(f())
type(f())
type(f())
type(f())
type(f())
type(f())
type(f())
Get types of arguments in python