hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agocall the doctor, the CS doctorlemmy.worldimagemessage-square40linkfedilinkarrow-up1417arrow-down129
arrow-up1388arrow-down1imagecall the doctor, the CS doctorlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square40linkfedilink
minus-squareconditional_soup@lemm.eelinkfedilinkarrow-up7arrow-down1·edit-22 years 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