You must log in or register to comment.
Please, be reasonable:
return post.Contains("Twitter") || post.Contains("elon") ? "loser" : "cool";
Order of operations is too ambiguous, needs more parentheses
Yes, but the original is better for us who have just barely scatched python or bash scripting at some point.
Could be a Ternary operator.
Now this thread contains more Technology than most Musk ones.
So when I talk about watermelons I’m suddenly a loser :(?
Unfortunately, when I ran this post through this code it returned “loser”.