'Alt. constructor with type deduction from ``Type.from_expr``.
Examples
>>> from sympy import Symbol
>>> from sympy.codegen.ast import Variable, complex_
>>> n = Symbol(\'n\', integer=True)
>>> str(Variable.deduced(n).type)
\'integer\'
>>> x = Symbol(\'x\', real=True)
>>> v = Variable.deduced(x)
>>> v.type
Type(name=\'real\')
>>> z = Symbol(\'z\', complex=True)
>>> Variable.deduced(z).type == complex_
True'

@classmethod
def deduced(cls, symbol, attrs=FiniteSet()):

    return cls(symbol, attrs, Type.from_expr(symbol))
