hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agocall the doctor, the CS doctorlemmy.worldimagemessage-square39fedilinkarrow-up1411
arrow-up1411imagecall the doctor, the CS doctorlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square39fedilink
minus-squareconditional_soup@lemm.eelinkfedilinkarrow-up7·edit-21 year agodef count_fingers(hand: list): count = len(hand) if count != 5: if count < 5: raise Exception("Check if fingers missing, or just smart ass") else: raise Exception("Oh... oh no.") return count
def count_fingers(hand: list): count = len(hand) if count != 5: if count < 5: raise Exception("Check if fingers missing, or just smart ass") else: raise Exception("Oh... oh no.") return count