On Tue, 03 Jul 2018 07:52:42 +0400, Abdur-Rahmaan Janhangeer wrote:
> .replace("a" or "b")
Oh I *wish* Python accepted that syntax to mean what you thought it meant.
That's a common error: a surprising number of beginners are fooled by how
close Python is to natu
On 03Jul2018 07:52, Abdur-Rahmaan Janhangeer wrote:
that's another oddity i wanted to clear
how do i know that string methods accept or and and in like .replace("a" or
"b")
i can't figure out how to deduce that it can accept that
Well, it accepts an expressio
that's another oddity i wanted to clear
how do i know that string methods accept or and and in like .replace("a" or
"b")
i can't figure out how to deduce that it can accept that
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
--
https://mail.python.org/mailman/listinfo/python-list