Trying to convert this nested java forloop into python but I cannot figure out how. Is there a way to do an if statment like this for loop?

I need to figure out how to rewrite these forloops in python.

I've tried everything and its not working.

int len = s.length();

for(int i = 1; i<4 && i
for(int j = i+1; j
I just wanted to be able to do conditions in a python forloop....

Read More »

By: StackOverFlow - Wednesday, 9 January

Related Posts