write the two type of string data type in python
Answers
Answered by
9
Explanation:
Strings are sequences of character data. The string type in Python is called str . As you can see, that doesn't work so well. The string in this example opens with a single quote, so Python assumes the next single quote, the one in parentheses which was intended to be part of the string, is the closing delimiter.
Answered by
10
Explanation:
Strings are sequences of character data. The string type in Python is called str . As you can see, that doesn't work so well. The string in this example opens with a single quote, so Python assumes the next single quote, the one in parentheses which was intended to be part of the string, is the closing delimiter.
Similar questions