#NEWLINE# @ app . route ( '/remove/<name>' ) #NEWLINE# def remove_item( name ) : #NEWLINE# #INDENT# global shopping_list #NEWLINE# if ( name in shopping_list ) : #NEWLINE# #INDENT# shopping_list . remove ( name ) #NEWLINE# #UNINDENT# return redirect ( url_for ( 'index' ) )