xxxxxxxxxx
27
<html lang="en">
<head>
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
<meta charset="utf-8" />
</head>
<py-script>
micropip.install("turtle")
from turtle import *
color('red', 'yellow')
begin_fill()
while True:
forward(200)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()
</py-script>
<body>
<main>
</main>
</body>
</html>