Computer Science, asked by ebarishalyngz, 3 months ago

what are string literals in Python? How many ways,can you create String literals in Python? are there any differences in them?​

Answers

Answered by kantasireesha
8

Answer:

Python string literals

Python strings can be created with single quotes, double quotes, or triple quotes. When we use triple quotes, strings can span several lines without using the escape character. In our example we assign three string literals to a , b , and c variables. And we print them to the console.

this is the answer

hope it is helpful

Similar questions