It is just what I have been trying to say in my last postings. In this case the teacher was looking for how a TTL gate is able to sink more current than it can source. Twisting my brain this was the only logical answer to this question.Don't use the Posts: ### since that changes with every post made. Use the post # in the thread.
7400 gates were not meant to drive LEDs high directly.
You can use 7400 gates to sink current through a series resistor and LED with the anode of the LED connected to +5V. In this case the LED will display the inverted logic output (LED ON with LOW output).