Python Create List From User Input In C