Here, I tried to generate a single string from two lists. Is there a better way of doing this? #Python #100DaysOfCode #Pythonprogramming #coding
@pythoncodestar @driscollis @python_engineer @mathsppblog @PythonWithRune @reuvenmlerner @realpython @codesimple1 @PythonStack @PythonFolks You can drop the call to map.
@pythoncodestar @driscollis @__mharrison__ @python_engineer @mathsppblog @PythonWithRune @reuvenmlerner @realpython @codesimple1 @PythonStack @PythonFolks How about doing it this way ' '.join(list+list2)
@pythoncodestar @driscollis @__mharrison__ @patloeber @mathsppblog @reuvenmlerner @realpython @codesimple1 @PythonStack @PythonFolks Lists become one string Joining, mapping, and uniting Python transformation pythonquicky.com/lists-to-strin…
@pythoncodestar @driscollis @__mharrison__ @python_engineer @mathsppblog @PythonWithRune @reuvenmlerner @realpython @codesimple1 @PythonStack @PythonFolks How do u screenshot this
@pythoncodestar @driscollis @__mharrison__ @python_engineer @mathsppblog @PythonWithRune @reuvenmlerner @realpython @codesimple1 @PythonStack @PythonFolks I’m still not very good with Python, but doesn’t this work? Is there a reason for making it more complicated?