give me a simple example to start coding in C++. Then, show it in python. Explain the task and the steps taken and provide comments.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence