xxxxxxxxxx
# The canvas on the right contains the SVG image from the `canvas` variable.
# Press the "draw" button to re-draw the image.
import svg
from random import choice
rows = 4
columns = 6
width = 60
height = 40
radius = 4
colors = [
'#2ecc71',
'#3498db',
'#9b59b6',
'#34495e',
'#e67e22',
'#e74c3c',
'#7f8c8d',
]
def random_circles(x, y):
Loading Python...
Python is ready
'Hello world!'
Hello world!
import micropip
True
micropip.install('svg.py', deps=False)