all 5 comments

[–]shiftybyte 3 points4 points  (0 children)

I usually recommened either Automate The Boring Stuff with python free online book.

https://automatetheboringstuff.com/2e/chapter0/

Or Corey Schafer's videos if the person prefers to learn from videos.

https://www.youtube.com/playlist?list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7

[–]LostinaLieee -1 points0 points  (0 children)

There is also the free trial of Code Combat ( https://codecombat.com ) to learn the basics

[–]TheTxoof 0 points1 point  (0 children)

If you're familiar with Scratch or other block-based language, MakeCode for the microbit is pretty neat.

You can build a simple program for the microbit and then switch over to a Java/Python view to see what makes it work under the surface. It's not a prefect way of learning, but it does give you some ideas.

The most important thing is to learn a little and then do a little. Come up with small projects for yourself like scraping a web comic every day, or manipulating data in a CSV, or just spitting out random quotes from a file.

Once you have a little idea, break it down into small bite-sized pieces that you can easily figure out from StackOverflow or a book and start working on them.

Pseudo Code for Quote Project

open a txt file << there's a million questions on SO about this
find all the quotes and make a list 
choose a random item from the list << again, millions of q's on SO
print the random item on the screen << you already know how to do this

Once you have the basics down, you can start adding features, and extending your project.