python strings | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

python strings

can anyone tell me what are strings and how to write them

8th Apr 2020, 1:04 PM
Hammas Khan
Hammas Khan - avatar
2 Answers
8th Apr 2020, 1:32 PM
John Robotane
John Robotane - avatar
+ 1
Any input represented within single or double quotes are generally Strings. This is a simple code which stores your name inside a variable name and is printed in the next line. name = "Hammas Khan" print(name) https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2274/
8th Apr 2020, 1:33 PM
Avinesh
Avinesh - avatar