- 3
i cant get dis step i am stucked here any help
4 Answers
+ 1
String is sequence of characters. In python it is sequence of strings one character long. So 'Hello world' is string. On this data type you can do some operation which you can do on lists too.for example:
for character in 'hello world':
print(character)
you will get one character at the time on the output.There are also byte strings in python but for now just look at strings like text. And use it when you have to do with text. Also there is type of encoding (it is important when you want to read or write text string from or to file) but do not think about that for now,too. For now just start playing with str methods.have a nice day;-)
0
what is string...
- 1
tnx vetarikisa
- 1
now my problems is dis type and for answer I don't have backlash for dis in my typing pad look only have / dis sign way can I do