Python Exception Handling in Hindi | Try Except Else Finally | Raise & Assert | 14 WAPP + Answers
Автор: Premier Programmer
Загружено: 2026-02-15
Просмотров: 12
Описание:
Python Exception Handling in Hindi | Practice Set 1 | 14 W.A.P.P Programs + Answers (Try Except | Raise | Assert)
In this video, you’ll practice Python Exception Handling in Hindi with 14 W.A.P.P programs (Practice + Answers).
You will learn try except else finally, how to handle ValueError and ZeroDivisionError, and how to use raise (input validation) and assert (sanity checks / debugging).
✅ What you’ll learn (Hindi)
try / except / else / finally
ValueError, ZeroDivisionError
raise for validation
assert for debugging
mini real-life programs: withdraw, login, grading, age, username validation
-----------------------------------------------------------------------------------------------------------------------------------------------------------
⬇️ DOWNLOAD PRACTICE SET - 1:
https://drive.google.com/file/d/1fhIt...
⬇️ DOWNLOAD SOLUTION SET - 1:
https://drive.google.com/file/d/10nfl...
-----------------------------------------------------------------------------------------------------------------------------------------------------------
📖 CHAPTERS
00:00 - Introduction
00:05 – 1. Fix syntax errors in an if–else (Hello/Bye).
00:42 – 2. Fix syntax errors in add(a,b) and its call.
00:59 – 3. WAPP: divide 2 inputs; handle divide-by-zero.
01:59 – 4. WAPP: input number; handle ValueError + ZeroDivisionError (100/0).
03:11 – 5. WAPP: convert input to int; ValueError; else print valid number.
04:00 – 6. WAPP: input counter; raise if non-positive; finally print done.
05:07 – 7. WAPP: input °C; raise if less than −273.15.
06:05 – 8. WAPP: withdraw(balance, amount); raise if amount is greater than balance; else show new balance.
07:00 – 9. WAPP: input username; raise if less than 3 chars; else welcome.
07:40 – 10. WAPP: calculate_area(l,w); assert l,w greater than 0.
08:35 – 11. WAPP: input number; assert even (“Number must be even!”).
09:11 – 12. WAPP: login; assert password not empty.
10:07 – 13. WAPP: set_age(age); raise if age is leas than 0; assert age is less than 150.
11:03 – 14. WAPP: input marks; raise if not 0–100; assert greater than or equal to 40 ⇒ “Pass”.
12:18 - Conclusion
12:34 - Next Video
-----------------------------------------------------------------------------------------------------------------------------------------------------------
🚀GITHUB: https://github.com/Amar-cmd/Comprehen... ✅
💬 GITHUB DISCUSSION: https://github.com/Amar-cmd/Comprehen... ✅
🎭 DISCORD: / discord ✅
📧 EMAIL: [email protected] ✅
-----------------------------------------------------------------------------------------------------------------------------------------------------------
WHY THIS COURSE (Hindi):
MASTER PYTHON with 500+ questions & 20+ hands-on projects (हिंदी)
High-quality content available FREE
WHAT YOU WILL LEARN
✅ Professional Python coding (Hindi)
✅ Strings, loops, control statements, more
✅ Modules, file handling, multithreading
✅ OOP (Object-Oriented Programming)
✅ Data Structures & Algorithms in Python
✅ Image manipulation
✅ Machine Learning with scikit-learn
✅ Functional programming
✅ Jupyter Notebook & .py workflow
✅ Process Images, CSVs, PDFs, more
THIS COURSE INCLUDES
✅ 30+ hours content • 500+ coding questions • 20+ projects • 200+ quizzes • DA & ML projects
COURSE CONTENT
1) Setup
2) Intro
3) Basics
4) Control Statements
5) Functions
6) Strings
7) Arrays
8) Lists
9) Tuples
10) Sets
11) Dictionaries
12) Modules
13) File Handling
14) OOP
15) Errors & Exceptions
16) Multithreading
17) Image Manipulation
18) Data Structures
19) Algorithms
20) ML & Data Analysis
REQUIREMENTS
Computer with internet
Willingness to learn
🔔 LIKE • SHARE • SUBSCRIBE for more Python Sets (Hindi) tutorials!
Keywords (Search)
python error handling hindi, python exceptions hindi, try except else finally python, raise keyword python, assert python hindi, ValueError ZeroDivisionError python, wapp python questions, python practice set pdf, python debugging hindi
#Python #PythonHindi #ExceptionHandling #TryExcept #Raise #Assert #WAPP
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: