Python 3 Basics Tutorial

This is a tutorial for novice programmers. You are the learner I had in mind when writing this tutorial if:

  • you have worked a little with a different programming language like R, MATLAB or C.
  • you have no programming experience at all
  • you know Python well and would like to teach others

This tutorial works best if you follow the chapters and exercises step by step.

Goals

The main goal of this tutorial is to enable you to write Python projects with up to 100 lines. Here you find a detailed syllabus:

First Steps

Python as a Calculator

Plotting

Iteration

Aggregation

Conditionals

Conditional Loops

Dictionaries

Appendix

License

© 2015 Dr. Kristian Rother (krother@academis.eu)

with contributions by Allegra Via, Kaja Milanowska and Anna Philips

Distributed under the conditions of the Creative Commons Attribution Share-alike License 4.0

Sources of this document can be found on https://github.com/krother/Python3_Basics_Tutorial

Acknowledgements

I would like to thank the following people for inspiring exchange on training an d Python that this tutorial has benefited from: Pedro Fernandes, Tomasz Puton, E dward Jenkins, Bernard Szlachta, Robert Lehmann and Magdalena Rother

Dr. Kristian Rother

I am a professional Python trainer, developer and author based in Berlin. I believe everybody can learn programming.

Contact me via:
+49 176 3052 4691
krother@academis.eu

Feedback

Thanks to your tips my speech was a success! A couple of people laughed, my parents were happy, and I was relieved.

P. Petersen, Berlin

See also