🔄

Pig Latin Converter

Python12 lines· Converts an English sentence into Pig Latin. function.py holds the conversion logic and main.py prompts the user for a string and prints the conver…
view source on GitHub
Ready when you are

Pig Latin Converter

Converts an English sentence into Pig Latin. function.py holds the conversion logic and main.py prompts the user for a string and prints the converted result.

How to run

python main.py

Dependencies

Standard library only.

Pyodide-runnable

Yes — it is a pure-stdlib console program using input() and print().

pig-latin.py· Python 3.x
52 lines
Console· terminal