Beginner Python Tutorial 69 - do while Loop in Python

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

I rarely use do/while loops, so whenever I need one, I have already forgotten the freakin syntax. Nice video, thanks.

panthonyy
Автор

Simply, you could say there's no "do while loop in Python"

MahmoudEssamMustafa
Автор

BRO MAKE A COMPLETE SERIES ON DATA STRUCTURE AND ALGO. (taking any language like c++ or java or c#). I THINK THAT WILL REALLY REALLY AWESOME cause
there is no such course or series. ONLY BASIC TUTORIALs ARE PRESENT .
ANYWAYS KEEP UP THE GOOD WORK

swagatbaruah
Автор

Thank you for this video, i love the fact that you help us ! You see, i'm studying informatics here in Romania! I had some probleme with Operating Systems and Automatic formal languages which i studied in python. I don't think that i will pass this summer, but i think your videos will help me to understand more !

cristianalexpopa
Автор

Isn't "while True" evaluated as a condition with each step, therefore we actually have double the number of evaluations in the second method compared to the first one?

munteanionut
Автор

o
Listen to this story: a boy and his father, a computer programmer, are playing with wooden blocks. They are building a pyramid.

Their pyramid is a bit weird, as it is actually a pyramid-shaped wall - it's flat. The pyramid is stacked according to one simple principle: each lower layer contains one block more than the layer above.

The figure illustrates the rule used by the builders:



Your task is to write a program which reads the number of blocks the builders have, and outputs the height of the pyramid that can be built using these blocks.

Note: the height is measured by the number of fully completed layers - if the builders don't have a sufficient number of blocks and cannot complete the next layer, they finish their work immediately.

Test your code using the data we've provided.

Can someone solve above program.

belalhashmi
Автор

But where u using do loop I don't

reddragon
Автор

This is not do-while it is only while loop

muhammadshahzaibshahid