The story about the photography students was conveyed almost verbatim in the book Atomic Habits fwiw.
But I think this type of principle has been relayed through many forms. Even Bruce Lee has the famous quote “I fear not the man who has practiced 10,000 kicks once,
but I fear the man who has practiced one kick 10,000 times.”