You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
guests = []
guestAddition = input ('please enter guest name, enter stop when done')
while guestAddition != 'stop' :
guests.append(guestAddition)
guestAddition = input ('please enter guest name, stop to finish')
#print the list as entered
print (guests)
#sort the list
guests.sort()
#print the names one by one in alphabetical order
numValues = len (guests)
for steps in range(numValues) :
print (guests[steps])
Activity