Python - Como hacer un bucle a un código terminado

Filtrado por el usuario: Tom
Filtrado por el usuario 'Tom' (Eliminar fitro)
 
Vista: