No spaces?


why does the code of Pig Latin which you had given doesn’t take spaces ??That means the .alpha() function does not take spaces??

FAQ: Learn Python - Pyglatin - Testing, Testing, is This Thing On?

Precisely. str.alpha() only accepts aphabet characters, [a-z, A-Z]. The program is meant to only take one word at a time.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.