new in programing

Brett Hoerner bretthoerner at gmail.com
Fri Dec 9 20:25:28 CET 2005


Efrain Marrero wrote:
> i want to now how to do this in python
> this is java
>
>
> for(int i=1 ; i<=lim ; i++){
>
> 		  for(int j=i+1; j<=lim+1; j++){
>
> 		  	for(int k =j+1; k<=lim+2;k++){
>
> 		  		for(int l=k+1 ; l<=lim+3;l++){
>
> 		  			for(int m=l+1 ; m<=lim+4;m++){
>
> 		  				for(int o=m+1 ; o<=lim+5;o++){

That code wouldn't run on a JVM, do you have the rest?  Or are we to
assume these loops do nothing and just close all the braces?




More information about the Python-list mailing list