String inside single or double quotes?

If I write a= ’ abhishek’ and print its type why does it still show string . I thought string was supposed to be inside double qoutes . Does that mean we can write strings inside single as well as double quotes ?

@abhiabhiddn
Yes. Strings can be declared using single , double or even triple quotes in python.
a = ‘qwer’
b = “qwer”
c = ‘’‘qwer’’’
d = “”“qwer”""

All four are equivalant. All four of them are string objects only.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.