Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Add numbers

OK, so we know how to multiply two numbers. Let's now take a giant leap and try to add two numbers together.

It works as expected. We can move on to the next challenge.

a = 19
b = 23
c = a + b
print(c)    # 42