0 votes
in Python by
Define String in Python?

1 Answer

0 votes
by
String in Python is formed using a sequence of characters. Value once assigned to a string cannot be modified because they are immutable objects. String literals in Python can be declared using double quotes or single quotes.

Example:

1

2

print("Hi")

print('Hi')
...