16
seven
Last seen 5 months ago
Member for 5 years, 12 days
Difficulty Normal
Hello
nice job! however, you dont have to leave a string with a space in lstrip and rstrip. you can just
use this:
string = text.lower().replace("\n", " ").lstrip().rstrip().split(" ")
still, nice job!
More
nice! however, i think the import should be outside of the function.
More