+ 2
why this split() doesn't work?
str2="F_i_s_h" str2.split(sep='_') print(str2) Output: F_i_s_h
3 Respostas
+ 6
https://code.sololearn.com/c2hZUPkRa8yY/?ref=app
See here, it will help you
+ 5
str1 = "F_i_s_h"
str2 = str1.split('_')
print(str2)
It works like this.
When you split any string, you need to store that value into another string.