+ 2
dividing and printing string
let's say I have str = 'Josip' and I want output to be like J o s i p
3 ответов
+ 2
find length of string and loop through its length and print srt value each time in indexed array format with '\n'
+ 2
str = "Josip"
for letter in str:
print(letter)
0
Ans from @Ricky works better.