HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 3 days agoI have a 64-bit genderlemmy.mlexternal-linkmessage-square34fedilinkarrow-up1290arrow-down132cross-posted to: programmerhumor@lemmy.ml
arrow-up1258arrow-down1external-linkI have a 64-bit genderlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 3 days agomessage-square34fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareBumblefumble@lemm.eelinkfedilinkarrow-up5arrow-down3·2 days agoimport isFemale def isMale(Person): if isFemale(Person): return False else: return True
minus-squarespongebue@lemmy.worldlinkfedilinkarrow-up9arrow-down1·2 days agopublic boolean isMale() { return !isFemale(); } public boolean isFemale() { return !isMale(); }
import isFemale def isMale(Person): if isFemale(Person): return False else: return True
public boolean isMale() { return !isFemale(); } public boolean isFemale() { return !isMale(); }