java do while

Java
package com.journaldev.javadowhileloop;

public class JavaDoWhileLoop {

	public static void main(String[] args) {

		int i = 5;
		do {
			System.out.println(i);
			i++;
		} while (i <= 10);
	}
}
do {
	// loop content
} while (/* condition */);10
9
8
7
6
5
4
3
2do
{
   statement(s);
} while(condition);while True: #True can be replaced with a different condition
  #resultclass DoWhileLoopExample {
    public static void main(String args[]){
         int i=10;
         do{
              System.out.println(i);
              i--;
         }while(i>1);
    }
}
Source

Also in Java: