count = 0
loop = "y"

while loop == "y":
    invite = input("Who do you want to invite to the party?" )
    print(invite + " has been invited")
    count += 1
    loop = input("Do you want to invite anyone else? Y or N")

print(str(count) + " people have been invited")

270050707ab2599eb37e5dd822800fb8b895bf1b
<mask token>

<mask token>
while loop == 'y':
    invite = input('Who do you want to invite to the party?')
    print(invite + ' has been invited')
    count += 1
    loop = input('Do you want to invite anyone else? Y or N')
print(str(count) + ' people have been invited')

count = 0
loop = 'y'
while loop == 'y':
    invite = input('Who do you want to invite to the party?')
    print(invite + ' has been invited')
    count += 1
    loop = input('Do you want to invite anyone else? Y or N')
print(str(count) + ' people have been invited')

count = 0
loop = "y"

while loop == "y":
    invite = input("Who do you want to invite to the party?" )
    print(invite + " has been invited")
    count += 1
    loop = input("Do you want to invite anyone else? Y or N")

print(str(count) + " people have been invited")
