code converter from java to python

waasd a dasd awd adsa sad

4.22
9
Phoenix Logan 186120 points

                                    String[] SQL = new String[1000];

4.22 (9 Votes)
0
4
6
Phoenix Logan 186120 points

                                    public int llenarpila()
    {
        if(tope>=pilaa.length-1){
            System.out.println("La pila esta llena :/");
        }
        else{
        tope++;
            System.out.println("Ingrese el dato = ");
            pilaa[tope]=teclado.nextInt();
                }
        return tope;
      }//fin llenarpila

4 (4 Votes)
0
3.63
9
Awgiedawgie 440215 points

                                    n <- Maxindex - 1 
REPEAT 
NoMoreSwaps <- TRUE 
FOR j <- 1 TO n 
IF MyList [j] > MyList [j + l] 
THEN 
ENDIF 
END FOR 
n <- n - 1 
Temp .... MyList[j) 
MyList[j] <- MyList[j + 1] 
MyList[j + 1] .... Temp 
NoMoreSwaps <- FALSE 
UNTIL NoMoreSwaps TRUE

3.63 (8 Votes)
0
4.5
4
Phoenix Logan 186120 points

                                    intervies question

4.5 (4 Votes)
0
4.5
5
Phoenix Logan 186120 points

                                    n = int(input())
output = []
strings = []
for _ in range(n):
  strings.append(input().strip())
q = int(input())
for _ in range(q):
  L,R,K = map(int, input().split())
  s = ""
  for __ in range(L-1,R):
      s += strings[__]
  output.append(s[K-1])
print(*sorted(output),sep='\n')

4.5 (6 Votes)
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source