so i want to write this simple java code in python, but i cant, i want to print all the Strings letters form the first index to the last, so if my string is "josh", i want to print:
j
o
s
h
or like this java code:
String name = josh;
for(int i = 0; i < josh.length(); i++){
print(josh.CharAt(i));
}
i cant find any method that is like charAt, i'm guessing that it doesn't exists but there has to some other way to do it, i know its kinda dumb question, but i couldn't find anything online or here(on this website) to help me, so any ideas?