Python 3 Trinkets

The easiest way to use the full power of Python 3.

Trinket: run code anywhere

Code Example

import numpy
import matplotlib.pyplot

Data

0,0,1,3,1,2,4,7,8,3,3,3,10,5,7,4,7,7,12,18,6,13,11,11,7,7,4,6,8,8,4,4,5,7,3,4,2,3,0,0
0,1,2,1,2,1,3,2,2,6,10,11,5,9,4,4,7,16,8,6,18,4,12,5,12,7,11,5,11,3,3,5,4,4,5,5,1,1,0,1

Adding or removing files is disabled during broadcasting. You'll be able to update files again once the broadcast session is over.

Python 3 Now Available!

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


Want the power of Python 3?

Python 3 is available in our premium Trinket Code+ and Trinket Connect plans, designed specifically for learners and educators.

Code+

Connect

Trinket's premium plans have a 30 day Satisfaction Guarantee.

Compare Plans

Learn More

Want to learn more about Python 3? Read the full documentation.