python中geany编辑器代码报错

2025-06-25 03:58:35
推荐回答(1个)
回答1:

alien_0初始值里面'0'是字符类型,所以直接相加报错,试试int(alien_0['x_position']) + ...