Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Stk String replace
#python 3.5.2 items = ["TEST_XXX_ITEM", "TEST_XXX_ITEM"] for i in range(0, len(items)): if "XXX" in items[i]: print("XXX in item") items[i] = items[i].replace("XXX", "YYY") print(items[i])
run
|
edit
|
history
|
help
0
Python3
31 dec dil khush
PyTeleBook
Rene
Page353ex42
PyDescript
Komalsri123
10
adda
time module time.time()