Python Learning
Monday, 10 February 2020
How to fix a : TypeError 'tuple' object does not support item assignment
Change this
badguy
[
0
]-=
7
into this
badguy
=
list
(
badguy
)
badguy
[
0
]-=
7
badguy
=
tuple
(
badguy
)
from :
https://stackoverflow.com/questions/19338209/how-to-fix-a-typeerror-tuple-object-does-not-support-item-assignment
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment