How can I learn to code?

Episode 1182 (2:06:50)

John from Anaheim, CA
Programming

John wants to learn computer programming. Leo recommends checking out Python. It's great because it's a scripting language and will enable him to test stuff. He should read "How to Think Like a Computer Scientist: Learning with Python."

Can John code on a tablet? Leo says there are Android specific versions of Python like Q-Python, but the environment may be more challenging. John should check out Python 4 Android. Javascript is good for web based programming. But he should use a laptop with a real keyboard.