Conditional Statements & Loops: If-else Control Structures in Python
Learners will explore implementations of the order of precedence of operators using if-elif-else statements to evaluate multiple conditions and conversions between various data types in Python in this 15-video course. Key concepts covered here include how conditions in Python work and how to evaluate conditions by involving primitive data types using if statements and complex data types using if statements. Next evaluate multiple conditions for decision making with nested control structures; identify how to use the if-else statement to make decisions involving complex data types such as lists tuples and dictionaries; and learn how to convert an integer to a float and a float or an integer to a string and vice-versa. Learners then observe how to convert primitive data types to complex data types to convert between various complex data types and to convert between various complex data types and view base conversions with Python built-in functions; and to solve various programming problems with Python built-in methods. Finally you will learn to solve various programming problems by using if-elif-else statements and nested if-else statements.