#Python "for loop" equivalent
1 messages · Page 1 of 1 (latest)
@worn bear for i in range(0, len(s)):
Well that was int i = 0, so it would really be range(1, len(s)) but you'd probably want to do for x in s, which starts at 0
ah well yes
1 messages · Page 1 of 1 (latest)
@worn bear has a question:
whats the python equivalent to: for(int i = 1; i < s.length(); i++){
<@&987246964494204979> please have a look, thanks.
@worn bear for i in range(0, len(s)):
Well that was int i = 0, so it would really be range(1, len(s)) but you'd probably want to do for x in s, which starts at 0
ah well yes