The answer traditionally has been "take out $40-200k in student loans," but does anyone realize how terrifying that can be for someone making minimum wage? Imagine having to risk 4x your current salary based on the promise you'll get a job, except you're learning that for a lot of people it isn't working as advertised. It's an insane risk and/or sacrifice we require to just survive.
I run a computer science academy that's free until you get a job (https://lambdaschool.com), and I can't believe how many people we talk to that just $1,000 of tuition would be a deal-breaker for. I was talking to one of our best students last week and learned that she was living on the floor of a relative and trying to use a touchscreen and some half-working cloud editor to code because she couldn't afford any type of computer, even the cheapest $50 version. It was really slowing her down, but she had no other option, and didn't know what to do. (Don't worry, we shipped her a computer.) I hadn't even thought to ask.
The crazy thing is the value of taking someone from unskilled to skilled is enormous; we see $50,000/yr swings in annual salary all the time, and they get that for the rest of their lives. So say they work for 40 years, that's a $2m increase in lifetime salary pre-tax. The cost of us training them to get there is <$10k. But we frequently ask people to either go into an amount of debt or to try to cashflow on minimum wage. It just doesn't work.