作成
編集する
[PYTHON]TypeError: unsupported operand type(s) for +: 'int' and 'str'
python
print( id + ',' + name )
TypeError: unsupported operand type(s) for +: 'int' and 'str' 数値と文字列は足したり結合できない というエラー
print( str(id) +',' + name )
LOGIN
Facebook
Twitter
Google
AUTHOR
@えのえの
最終更新日 2021/01/19
FAVORITE
LINK TAG
<a href="http://wakatta.xyz/i328/" target="_blank">[PYTHON]TypeError: unsupported operand type(s) for +: 'int' and 'str' - wakatta</a>
記法を見る
1745890366