python:septynkampis
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| python:septynkampis [2017/05/05 18:24] – created nojus | python:septynkampis [2017/05/05 18:39] (current) – aistis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | Kaip padaryti septynkampi su pitonu |
| + | |||
| + | < | ||
| from turtle import * | from turtle import * | ||
| from random import randint | from random import randint | ||
| Line 8: | Line 10: | ||
| b = randint(0, 255)/255 | b = randint(0, 255)/255 | ||
| pencolor((r, | pencolor((r, | ||
| - | right(51.42857142857143) | + | right(51.42857142857143) # cia 360 / 7 (kadangi septynkampis) |
| forward(100) | forward(100) | ||
python/septynkampis.1493997898.txt.gz · Last modified: by nojus
