俺もアイドルとゲーム対決してえ
listとint比較してないのに '<' not supported between instances of 'list' and 'int' って言われる😠
z = int(input("integer? ")) でz定義してるのに if z<0: の行でエラー出てlistとintの比較は無理ですよって言われるの意味わからん
@sr@mstdn.mell0w-5phere.net こんな感じでがんばったんですけど実行してzとzzに適当な整数入れてもエラー出てしまって
line 80, in num2pair
if z < 0:
TypeError: '<' not supported between instances of 'list' and 'int'
になるんですけど何で z がいつの間にかlist扱いになってるんですかね