def function_name(): if condition: return value for item in list: print(item)