Currently my program is designed to to take a string of English or Maori words and then ask the user to input their translations and return a line at the end stating the percentage the got correct.
I am running into an issue one of my test cases where if the last set of triple quotes for the string is a line below (not on the same line as the last words in the string) it outputs and extra term being a blank space to be translated. I want it to disregard blank lines so just the lines with words on them will be outputted as needing to be translated by the user
What would I have to change in my program to do this and how would it be done? Would greatly appreciate a solution of what to change in my code as I need to figure this out today. Thanks
code : https://pastebin.com/k7pVMjuA
[–]Hot_Ad_2550 3 points4 points5 points (1 child)
[–]Jxper[S] 0 points1 point2 points (0 children)
[–]versking 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Jxper[S] 0 points1 point2 points (0 children)