01 / 07
Writing the same thing over and over
To greet somebody three times, all you can do at the moment is write print three times.
Three is bearable. But once the same work is scattered across ten places and you decide good morning should say something else, that is ten places to fix — and one miss is a bug.
print("good morning")print("good morning")print("good morning")Result
good morning good morning good morning