始めてみた

なにか新しいことを始めるとき,モチベーション維持するためのBlog.

python by ドットインストール lesson 14

# coding: UTF-8
# 条件分岐 if

# 比較演算子 > < >= <= == !=
# 論理演算子 and or not

score = 90
if score >60 and score <80 : # 60 < score < 80 でもOK
    print("ok")
    print("OK")
else:
    print("no")
    print("No")