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