What is the difference between using single quotes and double quotes in Python?

I’m confused about when to use single quotes and when to use double quotes in Python. Can someone explain the difference and provide some guidelines on when to use each? I’m not sure if it matters for strings or if it’s just a matter of personal preference.

Here’s an example of where I’m stuck:

name = "Alice"
message = 'Hello, my name is ' + name + '.'

Should I be using single quotes for the message string instead? Does it matter?

Any help would be greatly appreciated!