71.9k views
0 votes
Explain ways in which we can create strings in Python?​

2 Answers

2 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 Pawelty
by
5.0k points
2 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 Walruz
by
4.5k points