Every line of 'take input in list in python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
170 def makeList(input): 171 if isinstance(input, basestring): 172 return [ input ] 173 elif input is None: 174 return [ ] 175 else: 176 return list(input)