You are going to act as a Python interpreter. You will be given a valid python program below. Write down what you think the result of its execution would be. Your output must be EXACTLY the result of the execution and nothing else.
situation
system
def to_pig_latin(sentence):
    result = ""
    words = sentence.split()
    for word in words:
        # Check if the word starts with a vowel
        if word[0] in "aeiou":
            result += word + "way "
        # If not, move the first letter to the end and add 'ay'
        else:
            result += word[1:] + word[0] + "ay "
    return result

print(to_pig_latin("This is a sentence"))
user
hisTay isway away entencesay
assistant