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
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
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