Jun-19-2020, 03:30 AM
(Jun-19-2020, 12:24 AM)Rusty Wrote: if someone could try running it on heir setup that would be great.
We did. @pyzyx3qwerty show the result already in post#2. Here again (just the string is shorter):
>>> import re >>> y = 'We four guys, live at 2nd street of Malibeu' >>> x = re.findall('[a-z]', y) >>> print(x) ['e', 'f', 'o', 'u', 'r', 'g', 'u', 'y', 's', 'l', 'i', 'v', 'e', 'a', 't', 'n', 'd', 's', 't', 'r', 'e', 'e', 't', 'o', 'f', 'a', 'l', 'i', 'b', 'e', 'u']As @deabhystad explained we suspect you have slightly different code and print
None
returned from a function. Especially because you mention function in your original post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs