last history of whatsapp message with python

import pywhatkit
last_history_of_message_sent_by_python = pywhatkit.showHistory()
print(last_history_of_message_sent_by_python)

Here is what the above code is Doing:
1. It is importing the pywhatkit module.
2. It is storing the last message sent by Python in a variable called last_history_of_message_sent_by_python.
3. It is printing the value of last_history_of_message_sent_by_python.