0

I want to get a string of all the currently printed things in python something like this

print("hello world")
print("Hello")
currentlyPrintedThings = getCurrentlyPrintedThings()
print(currentlyPrintedThings")
"hello world"
"hello"

Thanks

0 Answers0