command = ""
while command != 'x':
if command == 'a':
favorite = input('Enter index of movie to add: ')
movies.addToFavorites(favorite)
command = input(options + 'Enter Command (A/R/N/P/J/F/X): ').lower()
elif command == 'f':
favorites = movies.favorites()
print('My Current Favorite Movies:', favorites)
command = input(options + 'Enter Command (A/R/N/P/J/F/X): ').lower()
else:
command = input(options + 'Enter Command (A/R/N/P/J/F/X): ').lower()
if command == 'x':
print('End of Program.')