There is no point in talking about efficiency in such a way.
If your task is to print 100 or 1000 lines, "efficiency" lies not in the number of repetitions.
"Efficiency" would is about doing things in an optimal way; not looking at number of repetitions. In that sense, you would probably worry about flushing caches, IO buffering, and such things when worrying about the efficiency of print statements.
And: what you are saying is that "iterate 1 to n and print lines" has O(n)! So, you dont pick two different n's and say: because the underlying task is O(n); doing it 100 times is the same as doing it 1000 times.
Meaning: Big O is meant to tell you about potential cost of a certain operation; it is not meant to say anything about specific instances of n.