Reverse a sentence based on words. The th word from the left in the input sentence is the th word from the end in the output sentence.
Consider the following example:
```
sentence = "I know how to code in Python"
modified_sentence = "Python in code to how know I"
```
Choose all the options that accept a sentence as input and print the modified sentence.