There is no do while loop present in python because there is no proper way to define the loop. do…while statement has been rejected because it doesn’t fit in the general format of indented block statement: indented block used by every other Python compound statement.
while True:
statement(s)
if not condition:
Break