How do you detect for something being printed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you detect for something being printed?

Like how to detect if "spam and eggs" was printed

22nd Aug 2016, 12:25 AM
Ezie
2 Answers
0
What would the context be?
24th Aug 2016, 8:22 PM
Darth Vador
Darth Vador - avatar
- 1
You look at your code and if it says print("spam and eggs") then it's been printed.
24th Aug 2016, 6:27 AM
Darth Vador
Darth Vador - avatar