Adrija-G / Python3_Basics_Tutorial

Exercises for introductory Python 3 courses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Exercises for Beginners

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

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

Pick an exercise and start programming!


First Steps

Chapter Difficulty
Installing Python
Python as a calculator
Hello World
Ada Lovelace
Rock-Paper-Scissors
Square Numbers
Slideshow

Data Structures

Chapter Difficulty
Strings
Lists
Dictionaries ⭐⭐
Nested Lists ⭐⭐
Data Types Overview

Tabular Data

Challenge Difficulty
Reading a text file
Extracting data from text
Writing files
Create a Time Series
Working with directories

Program Structures

Chapter Difficulty
Conditional Loops
Writing your own Functions ⭐⭐
Shortcuts ⭐⭐

Challenges

Challenge Difficulty
Christmas Tree
Pyramid
Fizz-Buzz-Test
Tic-Tac-Toe ⭐⭐
Checkerboard ⭐⭐

Text processing

Challenge Difficulty
Palindrome ⭐⭐
Anagrams ⭐⭐
Roman Numbers ⭐⭐⭐
Encryption ⭐⭐⭐
Minesweeper ⭐⭐⭐

Math Problems

Challenge Difficulty
Factorials
Common Divisor
Fibonacci ⭐⭐
Multiplicative Digital Root ⭐⭐
Birthday Problem ⭐⭐

Algorithms

Challenge Difficulty
Binary Search
Sorting Algorithms
Chained List ⭐⭐
Josephus' Problem ⭐⭐
Tree Traversal ⭐⭐
Graph Traversal ⭐⭐⭐
Magic Square ⭐⭐⭐
Traveling Salesman ⭐⭐⭐
Backpack Problem ⭐⭐⭐⭐
Blockchain ⭐⭐⭐⭐

Web Development

Challenge Difficulty
Ping Pong ⭐⭐
Google Search ⭐⭐⭐
Download Web Pages ⭐⭐⭐

More about Python


Appendix


License

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

with contributions by Allegra Via, Kaja Milanowska, Anna Philips, @ShalokShalom and @devSython.

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 and Python that this tutorial has benefited from: Pedro Fernandes, Tomasz Puton, Edward Jenkins, Bernard Szlachta, Robert Lehmann and Magdalena Rother

About

Exercises for introductory Python 3 courses


Languages

Language:Python 95.9%Language:CSS 2.5%Language:Makefile 1.6%