+ 1
Please i dont und34stand that string
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
0
string
0
String are represented by using single quote or double quotes.... Ex:_ print "hi"
Output will be hi
0
any body can please help me to understand strings easily
0
no