Any way to get last two elements from .txt file in Python? [closed]

  python

As I am fairly new to python I have faced some difficulty trying to import some values from a text file. The text file has three categories and I just need to import the last category of grade where the specific values are. If you can help, its much appreciated.
[Text file example]
[1]: https://i.stack.imgur.com/DrbP2.png

Source: Python Questions

LEAVE A COMMENT