There was a problem connecting to the server.

Please check your connection and click Run to try again.

Run your code first!

It looks like you haven't tried running your new code.

Try clicking  Run and if you like the result, try sharing again.

×

Are you sure?

Resetting will undo all of your current changes.

Cancel Yes, I am sure. ×

Broadcast Control Room

×
Share Your Code!
Customize
pro tip You can save a copy for yourself with the Copy or Remix button.
×
Embed Your Code!
Customize
×
Email Your Code!
pro tip You can save a copy for yourself with the Copy or Remix button.
×

Add to Group

Decide which group to add this trinket below.

    You don't have any groups that you can add a trinket to — try creating a new one!

    You can also create a new group.

    Create Group
    ×

    Python 3 Now Available!

    This is a Python 3 trinket. It includes everything in Python 3.5.2 as well as scientific libraries like Numpy and SciPy and matplotlib , with more on the way.

    Upgrade to Trinket Connect now to create your own Python 3 trinkets! Learn more on our plans page. We offer a 30-day money back guarantee and you can cancel at any time.

    ×