We're a place where coders share, stay up-to-date and grow their careers.
Ok then split document by lines and call the function :
document_splitted = document.split('\n') for line in document_splitted: fix_virus(line) ....
Or capitalize each line of the document after lowering :)
Your solution is very good btw. Good job
Ok then split document by lines and call the function :
Or capitalize each line of the document after lowering :)
Your solution is very good btw. Good job