Types of Errors in Python Programming|Handling Errors in python|Indentation Error in Python

preview_player
Показать описание
Types of Errors in Python Programming|Handling errors in python|Indentation error in python.
This video is part of python tutorial for beginners in hindi.In this video,i have explained about types of errors in python programming.I covered nearly all types of errors in python and how to fix wrrors in python.Remaining will see in advanced python.
queries covered:-
1) Indentation error in python
2) Types of errors in python
3) errors in python
4) Value error
5) syntax error
6) Handling errors in python

Hello guys,welcome to codeyug to build your computer science skills.Here,you will learn programming tutorials and computer science tutorials from basics to advanced.

source code :-
Thanks for watching this video
Subscribe codeyug for more programming tutorials.
About this channel:-
This channel provides free tutorials on programming,coding,web development.There are programming tutorials which covers from basics to advanced absolutely in hindi.

Our social links:-
creator:-
------shantanu kejkar-------
#error #python #python3 #indentation #value_error #type_error #name_error #codeyug
Рекомендации по теме
Комментарии
Автор

Notes:
Syntax error:
Syntax is like a formula
You can't write a formula on your own it's already defined in python.
Example: Print( "hello world")
Here P of print is in capital letter soo it's showing an error. Always p of print should be in small letter)

Run time error:
A run time error will only occur when the code is actually running.
Example: print(3/0)
The actual answer is infinite.

symantic Error:
It is a man made error .
It's mean the python doing it's work perfectly but you wrote a logic in a wrong way.
Example : you want to take average of two values
var1 = 24
var2 = 12
print( (var1+var1) /2 )
Here i wrote var1+ var1 it's work perfectly but not show the desire output.

Type error: when you try to add a int value with a string .
Example:
var1 = "karan"
var2 = 12
print( var1+var1 )

Name Error:
var1 = 24
Var2 = 12
print( (var1+var2) /2 )
Var2 = 12 here the V is in capital letter . But in print statement the var2 is in small letter.
It will show name error.

Value error:
var1 = hello world
print( int(var1) )

*Indentation error: it is one of the important topics in basic python.
Basically Indentation is like space error.
var1 = " karan"
print(var1)

Index error:
We will see more about index in upcoming video for now just know.
Index is used to access the elements in the variable.

KaranSinghD-yjep
Автор

syntax 1:25
runtime 3:58
symantic 4:42
type 5:37
name 6:11
value 7:00
indent 7:37
index 7:58

Technical-Thinking
Автор

This video helped me a lot
Thank u for uploading this video

vinitpatil
Автор

Thank you Sir, bahot hi aasan tarike se aur detail mai bataya aapne

shitalpawar
Автор

Logical error mein aagar 2 se bhi divide karta toh bhi logical error hota it should be (a+b)/2

theharshvardhanagarwal
Автор

hello python ek interpretor language h means code line by line or statement by stament run krta h, but jab us code m koi syntax error ho or usse phle print ho to wo print kyu ni hota? jaise
print("test")
print("test1)
isme second line m syntax error m but first line print kyu ni hua?

avneesharya
Автор

nice video bro with clear explanation . love it!!

yashwanthero
Автор

Thank u bhai... teacher ki trh samjhaya hai❤️

centerwing
Автор

bro they are semantic errors not symantic errors, btw video helped me a lot thank you

uthsavb
Автор

thank you bro. really really big thank you

felixgallardo
Автор

nice video and very heplful video for beginners like me

siddhantpandey
Автор

That was cool dude. Helped clear up my doubts the night before exam

ume
Автор

Sir! Whenever im using list methods im getting error as
(Attribute Error : tuple object has no attribute "append" or any other list
Please help me to fix this

tprasanyashroff
Автор

This video is too much helpful for me, because, my exam is next week

Chinmoy
Автор

What is error print("Hello World")
Syntax errror

naresh
Автор

Sir what is logicle errors. Plz reply me

Chinmoy
Автор

Bro ak error aa rha slove nhi ho rha apka koi social media accounts link send kro na

prankinvlog
Автор

Your insta link isn't working i need your help plz tell me how to contact from u. Must reply

worldfactz