LoginSignup
0
0

More than 1 year has passed since last update.

概要

picoでmicropythonやってみた。
練習問題やってみた。

練習問題

俺言語インタープリタを拡張し、改行を出力せよ。

方針

?=!で、右項に!が来れば、改行する。

ADC読んで、グラフ表示のソースコード

10 b=0
20 a=l
30 ?="*"
40 b=b+1
50 #=a<b*70
60 #=30
70 "=2
80 #=!
90 #=10

実行結果

image.png

以上。

0
0
0

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
0