Challenge yourself

Beginner
Intermediate
Expert

Write a function that takes a list and value, lst and v, and it removes v from lst if v is in the list.

Example:

>>> t = ['po', 'ani', 'jo']
>>> remove_v(t, 'po')
>>> t
['ani', 'jo']
>>> remove_v(t, 'pse')
>>> t
['ani', 'jo']