Please i dont und34stand that string | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please i dont und34stand that string

4th Jun 2018, 7:07 PM
ayomizi
ayomizi - avatar
5 Answers
+ 8
in python string are written in between single quotes or double quotes ex:- s = 'hi'   print s[1]          ## i   print len(s)        ## 2   print s + ' there'  ## hi there for more information refer this user generated lesson https://www.sololearn.com/learn/Python/2274/?ref=app
4th Jun 2018, 7:25 PM
GAWEN STEASY
GAWEN STEASY - avatar
0
string
4th Jun 2018, 7:07 PM
ayomizi
ayomizi - avatar
0
String are represented by using single quote or double quotes.... Ex:_ print "hi" Output will be hi
6th Jun 2018, 11:30 AM
Swami Mayur
Swami Mayur - avatar
0
any body can please help me to understand strings easily
7th Jun 2018, 2:41 PM
Karthik
Karthik - avatar
0
no
12th Jun 2018, 7:23 PM
Камил Нотфуллин
Камил Нотфуллин - avatar