Sunday, January 13, 2019

Trinket: Python in web browser

Great resources for learning programming,
schools should use this (more).

../_images/turtle-star.pngYour Python Trinket

24.1. turtle — Turtle graphics — Python 3.5.6 documentation


from turtle import *
color('red', 'yellow')
begin_fill()
while True:
    forward(200)
    left(170)
    if abs(pos()) < 1:
        break
end_fill()
done()

A Visual Introduction to Python @ Trinket

free books online:

Think Python
How to Think Like a Computer Scientist by Allen B. Downey

Think Java: How to Think Like a Computer Scientist (PDF)

book online: Python for Everybody


Running Python in a Browser Is More Awesome Than You Think | WIRED


No comments: