Example: What's your phone number?

Taken from Jake Vanderplas' example and pleacher.

First, key in the first three digits of your phone number (or any three digits) and multiply it by 80.


In [ ]:
value = 80 * 303
print(value)

Add 1 to the value


In [ ]:

Multiply value by 250.


In [ ]:

Add the last 4 digits of your phone number. Or choose any four digit a number.


In [ ]:

Repeat the previous step.


In [ ]:

Subtract 250 from the result.


In [ ]:

Divide the above by 2.


In [ ]:

The result should be a concatenation of the numbers you chose!


In [ ]:
print(value)

In [ ]: