Design a Python program to edit a given text string
"Apple is a great fruit"
def edit_string(text):
    text = text.replace("Apple", "Orange")
    return text

text = "Apple is a great fruit"
print(edit_string(text))
# Output: Orange is a great fruit