[deleted]
So when I talk about watermelons I’m suddenly a loser :(?
Submitted 5 months ago by HootinNHollerin@lemmy.world to technology@lemmy.world
So when I talk about watermelons I’m suddenly a loser :(?
Unfortunately, when I ran this post through this code it returned “loser”.
7/5
LGTM ⛴️
GarrulousBrevity@lemmy.world 5 months ago
Please, be reasonable:
return post.Contains("Twitter") || post.Contains("elon") ? "loser" : "cool";
HKayn@dormi.zone 5 months ago
Order of operations is too ambiguous, needs more parentheses
random_character_a@lemmy.world 5 months ago
Yes, but the original is better for us who have just barely scatched python or bash scripting at some point.