Computer Science, asked by prashantpkcom55, 2 months ago

What is a string? How these are created in Python?​

Answers

Answered by prajapatikhushi317
0

Answer:

Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same as double quotes. Creating strings is as simple as assigning a value to a variable. For example − var1 = 'Hello World!'

Answered by tanvi3131
0

Answer:

To create a string, put the sequence of characters inside either single quotes, double quotes, or triple quotes and then assign it to a variable. You can look into how variables work in Python in the Python variables tutorial.

Explanation:

Mark as a brainliest and follow

Similar questions