Quais são as diferenças entre esses dois fragmentos de código? Usando type(): import types if type(a) is types.DictType: do_something() if type(b) in types.StringTypes: do_something_else() Usando isinstance(): if isinstance(a, dict): do_something() if isinstance(b, str) or isinstance(b,...