MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2prjy/pythonfeelsillegal/p6uevl0/?context=3
r/ProgrammerHumor • u/ItsPuspendu • 2d ago
219 comments sorted by
View all comments
83
So long mutable strings as well π Edit: i got immutable confused with mutable
30 u/JanEric1 2d ago Aren't python strings immutable 16 u/wett-puss-lover 2d ago I got immutable and mutable confused. In python, strings are not mutable, thatβs what i meant 52 u/NecessaryIntrinsic 2d ago https://giphy.com/gifs/3ww3PIW5xLFEQ 3 u/wett-puss-lover 2d ago π π€£π€£ 2 u/the_horse_gamer 2d ago inflammable = capable of being inflamed flammable = capable of being flamed 2 u/chawmindur 2d ago If needed you can still use an array.array of unicode chars 2 u/Logicalist 2d ago nonsense, they're still there just as lists
30
Aren't python strings immutable
16 u/wett-puss-lover 2d ago I got immutable and mutable confused. In python, strings are not mutable, thatβs what i meant 52 u/NecessaryIntrinsic 2d ago https://giphy.com/gifs/3ww3PIW5xLFEQ 3 u/wett-puss-lover 2d ago π π€£π€£ 2 u/the_horse_gamer 2d ago inflammable = capable of being inflamed flammable = capable of being flamed 2 u/chawmindur 2d ago If needed you can still use an array.array of unicode chars
16
I got immutable and mutable confused. In python, strings are not mutable, thatβs what i meant
52 u/NecessaryIntrinsic 2d ago https://giphy.com/gifs/3ww3PIW5xLFEQ 3 u/wett-puss-lover 2d ago π π€£π€£ 2 u/the_horse_gamer 2d ago inflammable = capable of being inflamed flammable = capable of being flamed 2 u/chawmindur 2d ago If needed you can still use an array.array of unicode chars
52
https://giphy.com/gifs/3ww3PIW5xLFEQ
3 u/wett-puss-lover 2d ago π π€£π€£ 2 u/the_horse_gamer 2d ago inflammable = capable of being inflamed flammable = 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
nonsense, they're still there just as lists
83
u/wett-puss-lover 2d ago edited 2d ago
So long mutable strings as well π
Edit: i got immutable confused with mutable