How to get last random int generated?

Keywords: python python-3.x random


I'm writing some code to find patterns in pseudo random numbers. I would like to print these numbers as they are added to a list. How do I get the last generated int?

I've looked through the documentation, but can't find that in the documentation.