Why can we use " and ' for strings?

Python considers ’ ," as same

Yes, both will gives to you the same result.

We can use both single and double quote jn puthon for strings. Whereas on C++ or Java the string should be enclosed within doublw quotes and the character should be enclosed in single quotes.

Both single quotes and double quotes can be used to represent string and both will give the same output. This enhances flexibility in our code. We can use either of them as we want and we will get the output without any syntax errors. That is why python is the most simpler language.