0
1

More than 1 year has passed since last update.

【Python】turtleを使って⌘(command)マークを記述

Last updated at Posted at 2021-12-23

Pythonとturtleを使って⌘(command)マークを記述するコード。

実装コード

from turtle import *
speed(0)
step = 2
for m in range(4):
	for n in range(0,270,step):
		forward(2)
		right(step)
	forward(200)
done()

実行結果スクリーンショット 2021-12-24 1.31.10.png

Pythonのお役立ち情報

0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1