if i input this charactor: i learn programming: then click enter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

if i input this charactor: i learn programming: then click enter

result : i learn programming plz help

1st Oct 2017, 5:23 PM
KhmerAnkor Cyborg
KhmerAnkor Cyborg - avatar
1 Answer
+ 2
do you want to split the input? if you want to do that nearly every language has a split() function and you can use it like: # python example i = input() for w in i.split(" "): print(w)
1st Oct 2017, 5:27 PM
Chrizzhigh
Chrizzhigh - avatar