I want to use one line to code the logic :
if the user email is None then user email equal to '[email protected]'.
I have tried:
user_email = '[email protected]' if user_email is None
Error:
if user_email is None
^
SyntaxError: invalid syntax
Any friend can help ?