write a python code for the following problem. I have attachedthe problem.
PROBLEM 1. pig.py: a pig-latin translator. Write a program that asks the user for a word and (1) If the word begins with a vowel, then the translation is simply the word followed by “way.” (2) If the word begins with a consonant (including the letter “y”), then the translation consists then translates it into pig-latin. The simplest version of the translation
OR
OR