Join Django Developers on Slack.

27 users online now of 1185 registered.

"He who would cross the Bridge of Death Must answer me, These questions three, Ere the other side he see"

print("xyyzxyzxzxyy".endswith("xyy"))

xyyzxyzxzxyy
xyyzxyzxzxyyxyy
True
False

Which function is used for overloading the == operator in python?

__eq__()
__equ__()
__isequal__()
None of the above

print("abcdef12".replace("cd", "12"))

ab12ef12
abcdef12
ab12efcd
None of the above