# Format: list = ['value if true' if condition else 'value if false' for item in iterable] # Example list_name = [True if num<5 else False for num in range(10)]