517,744 views
11 votes
11 votes
Explain ways in which we can create strings in Python?​

User Rmondesilva
by
3.0k points

2 Answers

12 votes
12 votes

Step-by-step explanation:

Strings can be created by enclosing characters inside a single quote or double-quotes. Even triple quotes can be used in Python but generally used to represent multiline strings and docstrings.

User MKaama
by
3.4k points
16 votes
16 votes

Answer:

Strings can be created by enclosing characters inside a single quote or double-quotes. Even triple quotes can be used in Python but generally used to represent multiline strings and docstrings.

User OJT
by
2.9k points