I want this program ignore case letter E.g. for string 'Apple' either 'A' or 'a' can replace the 'A' in Apple with any other character.
store = []
def main(text=input("Enter String: ")):
replace = input("Enter the replace char: ")
replace_with = input("Enter the replace with char: ")
for i in text:
store.append(i)
main()
print(store) # printing the result here
f_result = ''.join(store) # Joining back to original state
print(f_result)