.replace("a" or "b")

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Mon Jul 2 23:52:42 EDT 2018


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



More information about the Python-list mailing list