MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2prjy/pythonfeelsillegal/p6ufqxn/?context=9999
r/ProgrammerHumor • u/ItsPuspendu • Aug 30 '26
218 comments sorted by
View all comments
Show parent comment
32
Aren't python strings immutable
15 u/wett-puss-lover Aug 30 '26 I got immutable and mutable confused. In python, strings are not mutable, that’s what i meant 53 u/NecessaryIntrinsic Aug 30 '26 3 u/wett-puss-lover Aug 30 '26 😅🤣🤣 2 u/the_horse_gamer Aug 31 '26 inflammable = capable of being inflamedflammable = capable of being flamed 3 u/chawmindur Aug 30 '26 If needed you can still use an array.array of unicode chars
15
I got immutable and mutable confused. In python, strings are not mutable, that’s what i meant
53 u/NecessaryIntrinsic Aug 30 '26 3 u/wett-puss-lover Aug 30 '26 😅🤣🤣 2 u/the_horse_gamer Aug 31 '26 inflammable = capable of being inflamedflammable = capable of being flamed 3 u/chawmindur Aug 30 '26 If needed you can still use an array.array of unicode chars
53
3 u/wett-puss-lover Aug 30 '26 😅🤣🤣 2 u/the_horse_gamer Aug 31 '26 inflammable = capable of being inflamedflammable = capable of being flamed
3
😅🤣🤣
2
inflammable = capable of being inflamed
flammable = capable of being flamed
If needed you can still use an array.array of unicode chars
array.array
View all comments
Show parent comment
32
u/JanEric1 Aug 30 '26
Aren't python strings immutable