Tip:
Highlight text to annotate it
X
Welcome User defined function detail
If – else and UDF in more details If else in a program
Not in interactive mode Programming mode
Factions for reducing code
Defining fuctions Example odd_even
Indentation in Python
Odd_even Type cast integer or not to int
Checking is it divisible by 2 If no reminder then even
Else it is odd Calling function just use the function name
F5 to run the program Test the program
Learn Python Programming FREE From http://www.python4cbse.com
Specially for CBSE Students
Please Subscribe the channel