The specific trouble has by now been solved in prior solutions, so I'll address the final concept of using conditionals within list comprehensions.So any if-else Regulate stream needs to be accomplished while in the expression evaluated earlier mentioned. Also since list comprehensions create a list, expression has to be an expression that can be a