Interactive Python 3 tutorial with 100+ exercises - Learn Python 3 - Snakify

Interactive Python 3 tutorial with 100+ exercises


1. Code in your browser

Let's see how to add two numbers in Python. Run this example:

a = 5
b = 7
print(a + b)

Now let's do it in a more general way. This time the program reads two numbers from its input. Run this example:

a = int(input())
b = int(input())
print(a + b)

Now it's your turn. Write a program that reads three numbers from its input and prints their sum:

2. About this course

Welcome to our interactive manual of Python 3 programming language. This is an introductory course that is way different from the others.

What do we have here:

  • Basic lessons - we start from scratch but go in depth to what you'll really need in production
  • Challenging problems - handful of brain teasers to practice in any lesson
  • In-browser code runner - you don't need to setup anything to get started
  • Web and mobile support - code from any gadget you have
  • Visualizer - a perfect way to debug by step back and forth through program execution to see the variables

Searching for a means to teach Python at Key Stage 3, AP Computer Science Principles or CS1? Our course is right for you.

We're serious here about the interesting problems you can solve online. Look at these:
  • Rook move [topic: conditions] - given two chessboard coordinates, tell if a rook can move from one to the other in one move.
  • Least divisor [topic: while loop] - find the least divisor of the given integer.
  • Number of occurrences [topic: dictionaries] - count how many times you've seen each word as you scan the given text.
24k
enrolled students
11
lessons
100+
coding problems
no
required technical level

4. What do our alumni say?

John Sloan
Dublin, Ireland
“I was a linguist looking to move into computational linguistics but had no background in CS. Snakify took me from absolute beginner to top of the class. I have now designed a website with online English classes and received funding for further research.”
Evgeny Serebryakov
Saint-Petersburg, Russia
“I was studying molecular biophysics at my university. In spring 2015 I completed this course and then in winter I found a first internship as a Python/Django web developer.”

5. Why do I learn programming?

Programming improves your life. Whatever you do in your life, you can start hacking it right away.

  • Scientists collect and process data using programs to do research
  • Illustrators and musicians automate daily routines using scripts
  • Students can get a very well-paid job in months. Just look at the salaries of Software Engineers at Glassdoor

6. Why do I learn Python?

Python is a great choice whether it's your first or next programming language.

  • Python is very easy and flexible. The programs in Python are tinier than in other languages.
  • Powerful. Due to its huge community Python is very popular as a server-side language. Google (spider, search engine, Google Maps), Netflix and Pinterest use it a lot. Youtube, Quora, Reddit, Dropbox, Yahoo, Battlefield 2, Civilization 4, NASA, AlphaGene — all of them use Python; see the entire list here.
  • High demand for programmers. See open job positions on StackOverflow

7. What websites/apps are coded in Python?

Python is a great choice whether it's your first or next programming language. Here's the list of few projects/organizations that use Python:

  • Google, Netflix and Pinterest use it a lot. Youtube, Quora, Reddit, Dropbox, Google Maps. Yahoo, Battlefield 2, Civilization 4, NASA, AlphaGene — all of them use Python; see the entire list here.

8. Okay, how to learn Python?

There is a ton of way to do this, really. You can read books, or you can watch Youtube videos. However, you better solve coding problems, as you should start thinking like a programmer — and this skill comes with hard work.

Ready?