Angular Input Function In Python 3