Skip to content

Instantly share code, notes, and snippets.

@stevester94
Created December 31, 2022 07:15
Show Gist options
  • Save stevester94/51fc9a7de7e2755a382de103fa7f8496 to your computer and use it in GitHub Desktop.
Save stevester94/51fc9a7de7e2755a382de103fa7f8496 to your computer and use it in GitHub Desktop.

Resources

Really great for messing around with backend code without having to spend a ton of time setting your computer up. Plus you can share the link for a repl.it and colaborate.

Tutorials

Python Hello World

https://www.programiz.com/python-programming/examples/hello-world The first program any programmer writes in a new language. Copy the code here into a new repl.it (or whatever else you're using to run python code). Once you have hello world running you're ready to jump into the Intro to Python tutorial.

Intro to Python (1 Hour)

https://www.youtube.com/watch?v=kqtD5dpn9C8&ab_channel=ProgrammingwithMosh 1 hour intro to python, has a decent exercise half way through

I recommend you make a new repl.it project for each section in that video, and put comments in the code for things you want to remember, so you can refer back to them later

(Comments in python are lines that will be ignored, and start with a #)

After you finish that I suggest you just watch the one section here on "functions", since they're super important but he doesn't talk about them in that first video https://youtu.be/_uQrJ0TkZlc?list=PLTjRvDozrdlxj5wgH4qkvwSOdHLOCx10f&t=9043

Exercises

Some Python Exercises

After you get comfortable with the tutorials you can jump into some exercises. She walks through the code fairly well. Once you get them working you can tweak the code and explore on your own a little.

Guess the Number Madlibs

Misc Advice

Programming is hard, there's a pretty steep learning curve. Personally I think there's no better approach than learning by doing. So once you feel comfortable with the tutorials and exercises think of something fun or useful you'd like to try to program and go for it.

Feel free to contact me any time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment