У нас вы можете посмотреть бесплатно 3.4 – While Loop Program: Print Odd Numbers from 1 to 10 | Python Programming – New Series или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Welcome to the Python Programming – Complete Course (New Series) by Burle Sharma. In this class (3.4), we learn how to print all odd numbers between 1 and 10 using a while loop. In this video, I intentionally wrote a wrong program first by incrementing the value by 2 and asked all students to write the program exactly the same way. Later, I explained why that logic is wrong, because the odd numbers between 1 and 10 get repeated only 5 times, which does not satisfy the actual requirement. After identifying the mistake, I: ✔ Corrected the program ✔ Explained the correct logic ✔ Performed a dry run ✔ Executed the program Finally, I explained the most efficient and recommended approach using an if statement inside the loop. This class is very important to understand logical thinking and mistake analysis in programming. 🎓 What You’ll Learn in This Video • Writing expected output before coding • Printing odd numbers using while loop • Why increment-by-2 logic can be misleading • Understanding logical mistakes in programs • Correcting a wrong program step by step • Using if condition inside loop for odd numbers • Modulus operator for odd number checking • Dry run and execution comparison 🧠 Key Learning Point Making mistakes is part of learning programming. ✔ Not every working-looking logic is correct ✔ Always verify logic with expected output ✔ Dry run helps to identify hidden errors ✔ Using if inside loop gives correct and flexible logic A good programmer first thinks, verifies, then codes. #Python #PythonProgrammingNewSeries #BurleSharma #WhileLoopPython #OddNumbersPython #PythonIfStatement #LogicalMistake #PythonDryRun #PythonBeginners #Geecoding #PythonClass4#geecoding