0
[Python] How to add all symbols of string to array (for example, all letters of word or all digits of number as array elements)?
8 Antworten
+ 5
Where does your input come from? Is it from a file, from excel?, or is it somewhere manually input? Is your input really 53,3045747, 25,8013820 or '53,3045747', '25,8013820'? The issue is that the separator is the same character as the decimal separator. We can handle this, but just to make sure about input.
+ 4
Rómányi Téčka, as I said: please make us samples of input and output. Thanks!
+ 3
Before we can help you, please do a try by yourself. Place the code in playground, and link it here. It is also a good idea to make us a sample how the input looks like, and what output you expect. Thanks!
0
Lothar so i should input geographic coordinates, add all symbols to array and replace items to another
0
Bagon Thank you very much! I also set a loop to print only array elements.