7400 is not a resistance for current to flow in or out. It is an inverter where "input" has some specifications and so does "output". The input has a voltage specifications generally understood and also has some current specifications often not understood!. The input should be less than 0.4V for a 'zero" level input. In such a case, a current flows output of 7400 into the source, of the order of 1.6mA. Thus the source providing a zero has to also eat this current, and pretend that nothing has happened, meaning the voltage remains same. A resistor R in series with the such a source will mean that apart from the source voltage, a voltage of 1.6mA * R is the actual voltage presented to 7400. Thus placing a resistor of just 250 ohms from gnd to input will mean that voltage fed to 7400 is not zero, but about 400mV.
Though 800mV is acceptable as max "zero" level voltage, 400mV of this is kept as reserve for combating noise.
Similarly an input of 2.4V will ensure that a High level is fed as input. the current in this case of 40uA flows from source into the device, 7400. That much about input.
About output: The 7400 has ability to sink 16mA and still ensure that output is less than 0.4V, when outputting a LOW. When outputting a High which is guaranteed to be less than 2.4V, the device can at best be expected to source a current of 400uA. thus one can only connect to gnd a load of 2.4V/400uA or 6k as load. This is TTL loading rules.
AND THE FUNCTION OF 7400 IS INVERSION. If input is a LOW, output is a high, provided of course that you provide a supply voltage of about 5V.
To understand more, download lessons in electric circuits by Kuphaldt from DISCOVER CIRCUITS and see digital chapter.