Python is a programming language that is incredibly popular due to its ease of use (even for beginners!) and wide application in the sciences. Regardless of your discipline or coding experience, you can learn how to solve math problems, print text to a screen, and even make plots in Python.
If you search "python tutorial for beginners" on Google, you'll be overwhelmed with over 400 million results. We understand that not all 400 million of these tutorials are created with both students and their teachers in mind, so we've selected a few that we believe to be the most beginner-friendly (and free!).
Learnpython.org has 12 short, basic tutorials on Python that are great for beginners! Each tutorial includes explanations of the programming concepts followed by short coding exercises which you can edit and run within the web page.
In addition to the basic tutorials, learnpython.org also has 13 advanced tutorials for students and teachers who wish to expand an existing knowledge of Python.
Datacamp has four chapters of Python tutorials with a total of 11 video tutorials and 57 short, interactive coding exercises, all in your web browser. If you or your students prefer watching a video over reading through a tutorial, you may find these tutorials to be more suitable.
Also, Datacamp is on the App Store and Google Play, so you and your students can complete the tutorials using a smartphone or tablet, as well!
Codecademy is a site filled with all kinds of free programming language tutorials, including those for Python! These lessons are filled with interactive coding exercises on 12 basic Python topics with some textual instruction in and between each exercise.
The only downside to Codecademy is that some of the features (like quizzes and projects) require a pro account; however, the tutorials alone provide enough instruction.
Repl.it is a free, online Python programming website that allows you to write simple pieces of code and run them--all on the website. This is a great starting place for beginners who would like to write their own code or edit others' code.
To view some existing Python scripts (pieces of Python code), check out Erin's repl.it page! Try out the "Hello World" script below by pressing the green button. To create and embed your own Python code, check out the video below!