+ 4

How To Seprate The letters of string in phython

Give program for Example

6th Aug 2018, 6:56 AM
The Shiva
The Shiva - avatar
3 ответов
+ 5
print(list("hello")) #['h', 'e', 'l', 'l', 'o']
6th Aug 2018, 7:01 AM
Mert Yazıcı
Mert Yazıcı - avatar
+ 5
thanku
8th Aug 2018, 12:22 PM
The Shiva
The Shiva - avatar
+ 2
>>> s = "hello" >>> a = list(s) >>> print(a) ['h', 'e', 'l', 'l', 'o']
6th Aug 2018, 7:01 AM
wiad