LoginSignup
1
1

More than 5 years have passed since last update.

python > インラインコメントはできないのか > 複数行にしないといけないようだ

Last updated at Posted at 2016-02-24
動作環境
Python 2.7.9 on Raspberry Pi2

Cなどで使えるインラインコメント。

time.sleep(100/*msec*/);

これと同様のコメントをpythonでやる方法が分からない。

検索したものとしては
http://stackoverflow.com/questions/5617159/mid-line-comment-in-python

Actually if you break your statement into multiple lines you can.

複数行にしないといけないようだ。

1
1
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
1
1