Write a Python code to edit the given sentence by replacing all the '@' symbols with '#' symbols.
Sentence: "This is a sentence with @ symbols."
sentence = "This is a sentence with @ symbols."
sentence = sentence.replace('@', '#')
print(sentence) # This is a sentence with # symbols.