Hello guys ..I have a problem..How do I turn this a - Python
Аноним
6/4/2021, 6:26:40 PM
Ответов:
Hello guys ..I have a problem..How do I turn this a

= 'hello' into this 👇 a = 'h', 'e', 'l', 'l', 'o' How can I do this in python??

Ответы (21)

Аноним
6/4/2021, 6:28:10 PM

a = ['h', 'e', 'l', 'l', 'o'] print(a)

Аноним
6/4/2021, 6:28:29 PM

Split this into strong and then print

Charly Román
6/4/2021, 6:28:47 PM

split()

Im Meys
6/4/2021, 6:30:22 PM

No 😂I want to change it

Im Meys
6/4/2021, 6:30:39 PM

I don't know about split 😢

Charly Román
6/4/2021, 6:31:03 PM

then google it

Im Meys
6/4/2021, 6:31:58 PM

Ok thanks

Naveen
6/4/2021, 6:34:23 PM

b=list(a) Print (b)

Аноним
6/4/2021, 6:35:13 PM

print(input().split(","))🔰

Nitroxyl
6/4/2021, 6:41:07 PM

w/o the🔰 right?

Naveen
6/4/2021, 6:41:44 PM

This one crct

Apk
6/4/2021, 6:42:46 PM

this splits at empty spaces, which are not present here so it will remain the same

Аноним
6/4/2021, 6:43:25 PM

i = input("") b = list() for v in i: b.append(v) print(b)

fulsiram.
6/4/2021, 6:44:28 PM

how could it go from good answers to this?

Аноним
6/4/2021, 6:45:35 PM

🔰 S=input() print([ i for i in S ] , sep=",")

Аноним
6/4/2021, 6:46:18 PM

🔰 S=input() print([ i for i in S ] , sep=",")

Аноним
6/4/2021, 6:46:18 PM

Sorry, English is not good I can not understand what you mean :(

Аноним
6/4/2021, 6:47:02 PM

a='hello' print(list(a))

Аноним
6/4/2021, 6:48:59 PM

sep It is not necessary

Аноним
6/4/2021, 6:49:09 PM

Yeah I know

Аноним
6/4/2021, 6:49:29 PM

Using that also no change!

Похожие вопросы по теме Python

Аноним
1/27/2021, 9:26:43 PM
Ответов: 24
Can someone help me in this? what's is wrong in this code?

a=2 b=2 c=-1 d = b**2 - 4*a*c x1=-b + d**1/2/2*a x2=-b - d**1/2/2*a printd, x1, x2

BprMain
1/24/2021, 8:15:07 AM
Ответов: 23
How to enable my telegram robot to send a dice ?
Аноним
5/15/2021, 2:14:11 PM
Ответов: 23
What to learn in Python after OOP?
Аноним
11/11/2020, 1:09:41 PM
Ответов: 23
Guys, could someone try to help me in my doubt regarding editing

csv files?? https://del.dog/arefeafuly i tried to declare the inputs as BINARY and STR, but even way i get the same error "TypeError: a bytes-like object is required, not 'str'"

Аноним
1/19/2021, 3:40:16 PM
Ответов: 23
is there any faster way to check if a number is a

power of 2?

Аноним
10/21/2020, 3:00:17 AM
Ответов: 23
can i use python for flutter android app backend?
Аноним
7/28/2021, 12:10:10 PM
Ответов: 22
Is there anyway to use multiple items in if statement?! Like, if

m1 , m2 >= 1 and m1 , m2 <= 6: #do stuff

Аноним
9/26/2020, 1:16:02 PM
Ответов: 22
Can someone help me with tips on mobile app development? Frameworks, guides,

links...

Аноним
6/7/2021, 2:20:26 PM
Ответов: 21
It's possible for example inside a function modify the variable of another

function?

Lapanit
10/18/2020, 3:07:59 AM
Ответов: 24
Did you create a venv, activate it, install the required modules inside

it and execute your py file?