Exercise: Rewrite if/else as a Ternary

You already know how to choose between two values with if/else. Replace the four-line block in the comments with a single conditional expression that does the same job.
Python
Setting up Python environment...
Output