Python exception handling ️

Python exception handling ️

Bro Code

4 года назад

73,319 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@molisemojaje6990
@molisemojaje6990 - 07.05.2024 22:03

# This is a comment

Ответить
@Greenbay-bn3yk
@Greenbay-bn3yk - 09.05.2024 12:07

Hell yeah!👍 You are the best teacher I've ever found

Ответить
@hungnguyentien1223
@hungnguyentien1223 - 19.05.2024 08:10

guys Im currently following this playlist to learn python, Im just wondering if this is enough for me to start solving leetcode problems or I need to learn more method or syntaxes or something else?

Ответить
@anuvhabbasu2599
@anuvhabbasu2599 - 27.05.2024 17:47

Quality content bro

Ответить
@htetmyetthar5650
@htetmyetthar5650 - 04.06.2024 09:35

That is pretty easy to understand that I find my thoughts circling in the class. Thank you bro

Ответить
@DanielHai-ow3km
@DanielHai-ow3km - 14.06.2024 15:19

Yo bro cool vid

Ответить
@faresmohamed9447
@faresmohamed9447 - 18.06.2024 05:51

i learned a lot, thanks

Ответить
@kabaliff2155
@kabaliff2155 - 21.06.2024 18:58

Here is a comment bro... 😂

Ответить
@donthiebautable
@donthiebautable - 23.06.2024 02:03

Fun fact: an inability to divide by zero is a myth. Common convention says you can't, and that's fine for most framings, but other conventions involve division by zero to equal either zero or infinity. All three options are 'correct' in their own way, with different advantages and disadvantages to each approach.

Ответить
@D.S.MANOJ15
@D.S.MANOJ15 - 26.06.2024 18:44

Thanks dude

Ответить
@LauraAnna-vn7st
@LauraAnna-vn7st - 03.07.2024 11:31

Very easy to understand ....thank you so much😊

Ответить
@SernaLovesYoongi
@SernaLovesYoongi - 28.07.2024 12:26

The official docs make a lot of sense now after this video. Thnx!

Ответить
@JustCoding-c6s
@JustCoding-c6s - 07.08.2024 21:41

your the goat of this generation ;)

Ответить
@muhammadnasiribrahim723
@muhammadnasiribrahim723 - 17.08.2024 18:36

So cool

Ответить
@Outlaw3-1
@Outlaw3-1 - 27.08.2024 00:47

How would I do it if I want to present an error when the user inputs a number instead of a name

Ответить
@christoffer753
@christoffer753 - 15.09.2024 21:15

thanks bruv

Ответить
@goose5873
@goose5873 - 17.09.2024 08:22

tnx

Ответить
@ahmedisonthego
@ahmedisonthego - 26.09.2024 17:30

bro is cool

Ответить
@SsengendoReymond
@SsengendoReymond - 30.09.2024 19:58

u the best bro code

Ответить
@UzoGodswillChidi
@UzoGodswillChidi - 03.10.2024 12:21

I too wanna be a bro❤❤

Ответить
@samirsardar7817
@samirsardar7817 - 08.10.2024 21:25

Watched some other tutorials which just weren't clear to me at all, but your tutorial made me fully understand it. Thank you!

Ответить
@soulexesns9522
@soulexesns9522 - 09.10.2024 09:17

Thank you!

Ответить
@joelngige5776
@joelngige5776 - 10.10.2024 10:08

The best video i have watched so far that explains exception handling in very easy to understand way. Thanks Bro, for the video

Ответить
@DC-sk8jr
@DC-sk8jr - 12.10.2024 07:46

Thank you! This got to the point for a beginner like me and it was easy to understand and execute, without exception. Also, can I be a sis, rather than a bro?

Ответить
@grim-lf6de
@grim-lf6de - 13.10.2024 19:13

If we want to only take the number part when there is an exception, we can say that the user entered the number 21a by mistake. How can we extract only the int part and ignore the string part?

Ответить
@iJustWannaBeAbleToUseMyWifi
@iJustWannaBeAbleToUseMyWifi - 15.10.2024 10:54

by learning what is exception handling i'm one more step closer to getting into machine learning

Ответить
@vekta-q19
@vekta-q19 - 18.10.2024 13:12

Bro Code ,you're the best

Ответить
@ahmetunaldi7601
@ahmetunaldi7601 - 25.10.2024 16:19

Bro code is great

Ответить
@agastyaadesh7848
@agastyaadesh7848 - 05.11.2024 17:34

What does try keywords do?

Ответить
@ANTIPASMUSEKIWA-c7g
@ANTIPASMUSEKIWA-c7g - 06.11.2024 04:30

hooorayyyyy

Ответить
@aminalade4622
@aminalade4622 - 12.11.2024 14:26

the best

Ответить
@FootballMania-kc2yi
@FootballMania-kc2yi - 14.11.2024 11:41

Great tutorial, really got to know this concept. Thanks❤

Ответить
@darleyguti1035
@darleyguti1035 - 15.11.2024 15:32

excelent video thank you so much

Ответить
@SonyuCD
@SonyuCD - 19.11.2024 09:33

Right now i'm at my first semester in college and learning python became confusing since my teacher isn't helping much... Thanks to your videos, now I finally understand a lot of stuff. I'm currently studying for my text tomorrow and your videos are helping me a lot!! Thanks for taking your time to explain everything to us, and keep being the goat you are :]

Ответить
@advancharofgames
@advancharofgames - 23.11.2024 14:18

he sounds like joe form family guy

Ответить
@tanakaakanat-y2v
@tanakaakanat-y2v - 25.11.2024 11:26

fadaboeba

Ответить
@AliRozy
@AliRozy - 07.12.2024 08:49

ok

Ответить
@MehediHasan-r5g6n
@MehediHasan-r5g6n - 07.12.2024 20:21

thank you bro !

Ответить
@Cand4_K1ng
@Cand4_K1ng - 08.12.2024 14:59

tyy

Ответить
@BullRun-Insider
@BullRun-Insider - 09.12.2024 13:25

Thanks man

Ответить
@luanolveira6351
@luanolveira6351 - 16.12.2024 21:03

great video, i finally got to understand what exception handling is

Ответить
@cenpire
@cenpire - 23.12.2024 21:34

ur the reason im getting my cs degree.

Ответить
@AryanSachdeva-t5h
@AryanSachdeva-t5h - 31.12.2024 15:22

Loved the content

Ответить
@404_humor_notfound.05
@404_humor_notfound.05 - 16.01.2025 01:19

yoyoyoyo bro that was cool

Ответить
@casualdomo3202
@casualdomo3202 - 28.01.2025 09:58

I hope you know how much of a difference you make for people ❤

Ответить
@nikizefanyafan
@nikizefanyafan - 08.02.2025 18:41

drop a comment down below

Ответить
@sreepavansai5661
@sreepavansai5661 - 08.02.2025 21:18

siuuu

Ответить
@pau3600
@pau3600 - 11.02.2025 15:44

U da best sir

Ответить
@Bentakor
@Bentakor - 16.02.2025 15:56

Thanks dude, you always make such understandable video!

Ответить
@BroCodez
@BroCodez - 11.12.2020 01:06

# exception = events detected during execution that interrupt the flow of a program

try:
numerator = int(input("Enter a number to divide: "))
denominator = int(input("Enter a number to divide by: "))
result = numerator / denominator
except ZeroDivisionError as e:
print(e)
print("You can't divide by zero! idiot!")
except ValueError as e:
print(e)
print("Enter only numbers plz")
except Exception as e:
print(e)
print("something went wrong :(")
else:
print(result)
finally:
print("This will always execute")

Ответить