LoginSignup
0
0

More than 3 years have passed since last update.

pythonコメントアウト

Last updated at Posted at 2020-11-22

・行単位のコメントは、#に続けて記述

# Hello, world!を表示
print "Hello, world!"

・複数行にまたがるコメントアウト
'''(シングルクォーテーション3つ)あるいは"""(ダブルクォーテーション3つ)で囲まれた部分が
コメントアウトされる

'''
この行はコメントです。
この行もコメントです。
'''
0
0
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
0