Python Redis Get String Input In Python Syntax For Loop