Computer Science, asked by banerjeesubhojit92, 4 months ago

write the two type of string data type in python​

Answers

Answered by chavi7749
9

Explanation:

{\rm{\blue{\underline{\underline{\huge{AnSwEr}}}}}} \huge{\pink{࿐}}

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

Explanation:

\bf\huge{\underline{\purple{ANSWER}}}

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