Punch cards, then paper punch tapes then metal punch tapes. Before that, we loaded programs with buttons, no keyboard.
First computer I would on was 6 feet high, 30 feet long and 3 feet deep. It had to be keep at around 60 degrees or it crashed. ALL it did was store "stuff" from 20...