Update keywords.py

Fixed problem with inputs of type x+1