This python hindi tutorial for beginners covers if condition. First we will write a simple program that can tell you if input number is odd or even. Then we will cover basic conditional operators and then we will write a cuisine tracker that can tell you the type of input food cuisine using if, elif and else condition. We will then cover ternary operator that can be used as a replacement for if else condition.
#PythonTutorialHindi #Python #PythonProgramming
Exercise: https://github.com/codebasics/py/blob/master/Basics/Exercise/8_if/8_exercise_description.md
Code used in this tutorial: https://github.com/codebasics/py/blob/master/Basics/Hindi/6_if/6_if.py
Topics that are covered in this Video:
0:00 if..else condition
4:13 Conditional operators for if
7:20 if..elif..else
11:05 Ternary operator
12:41 Exercise
Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub