English
© Rollpie
Python は 3 と 3 という文字列を別とみなします。
a = 3 b = '3' if a == b: print('等しい') else: print('等しくない')
出力
等しくない