Creating Inputs in Python