are vers and v just lists of 3 int ? 
If so you can just do:
```python
return vers >= v