Live stream preview
Ternary Operator
Introduction to Python Programming • 4m 4s
The ternary operator is an abbreviated way of expressing a conditional-- Using it makes you look like a sophisticated Python programmer. You'll learn the ternary operator in this segment
Up Next in Introduction to Python Programming
-
While Loops
Almost everything in coding happens within the context of a loop. A loop allows you to repeat a section of code while some condition is true.
-
Break and Continue
Break and Continue statements give you more control over loop iterations. You'll learn how to use them in this section of the course.
-
Simple Python Functions
Functions allow us to write organized sections of reusable code. You'll create your first function in this video.