New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Is there any way to split a text in Python with ""? In JS: "Hello".split("") >> ["H","e","l","l","o"] in Python: doesn't work :(
text = "hi" {code} >> Output: ["h","i"]
1 Answer
+ 10
print(list("hi"))