pyBegin / projects / pig-latin
🔄

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 conver…

12 linesRunnable

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.

Example

Hello! Welcome to a Pig Latin converter
=======================================
Please type the string you would like to convert to pig latin: hello world

Your converted string is:
ellohay orldway

How to run on localhost

python main.py

Dependencies

Standard library only.