কম্পিউটার টিউটোরিয়াল

Python-এ do...while লুপ কেন নেই?


PEP 315 (Python Enhancement Proposal) do..while স্টেটমেন্ট অন্তর্ভুক্ত করার জন্য রিজেক্ট করা হয়েছিল কারণ এটি Python-এর অন্যান্য কমপাউন্ড স্টেটমেন্ট দ্বারা ব্যবহৃত সাধারণ ফরম্যাট statement: indented block-এ ফিট হয় না।

Guido Van Rossum-এর কথায় - "Please reject the PEP. More variations along these lines won't make the language more elegant or easier to learn. They'd just save a few hasty folks some typing while making others who have to read/maintain their code wonder what it means".


  1. পাইথনে ডাইরেক্টেড গ্রাফে কমন রিচেয়achable নোড আছে কিনা চেক করা

  2. পাইথনে 'with' স্টেটমেন্ট ব্যবহার করলে এক্সসেপশন ক্যাচ করা

  3. Python While Loop: পরিচিতি ও ব্যাখ্যা

  4. পাইথন লুপ মাস্টার করুন: For এবং While প্র্যাকটিক্যাল উদাহরণসহ ব্যাখ্যা