Computer Science, asked by Cheanackerman, 1 day 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 urkudkarujwala
0

Answer:

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.

Answered by tomardhruvrock07
0

Explanation:

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.

Similar questions