python add to list with index
list.insert(index, element)
add element to list python at index
thislist = ["apple", "banana", "cherry"]
thislist.insert(1, "orange")
join() python
# example of join() function in python
numList = ['1', '2', '3', '4']
separator = ', '
print(separator.join(numList))
insert into a python list
list.insert(i, elem)
replace() python
#our text
text='Hello there how may I help you!'
#replacing ("THIS" with "THIS")
replaced_text=text.replace("!", "?")
print(replaced_text)
#output
"Hello there how may I help you?"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us