F
"".join(str.split(":")[1:]).lstrip())Size: a a a
F
"".join(str.split(":")[1:]).lstrip())K
VA
"".join(str.split(":")[1:]).lstrip())py3
s = "to delete:fuck"
print(s.partition(":")[2])
fuck
Ф💰
БГ
py3
s = "to delete:fuck"
print(s.partition(":")[2])
fuck
R3
VA
py3
s = "to delete:fuck:fuck:fuck"
print(s.partition(":")[2])
fuck:fuck:fuck
БГ
py3
s = "to delete:fuck:fuck:fuck"
print(s.partition(":")[2])
fuck:fuck:fuck
VA
БГ
R3
$
py3
s = "to delete:fuck:fuck:fuck"
print(s.partition(":")[2])
fuck:fuck:fuck
БГ
R3
VA
py3
print("1234567890".partition("5"))('1234', '5', '67890')БГ
VA
VA
VA
БГ
py3
help("".partition)Help on built-in function partition:
partition(...) method of builtins.str instance
S.partition(sep) -> (head, sep, tail)
Search for the separator sep in S, and return the part before it,
the separator itself, and the part after it. If the separator is not
found, return S and two empty strings.