MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-21 year agoNeed a rust version too.toggl.comimagemessage-square61fedilinkarrow-up1429arrow-down115
arrow-up1414arrow-down1imageNeed a rust version too.toggl.comMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-21 year agomessage-square61fedilink
minus-squarescratchresistor@thelemmy.clublinkfedilinkarrow-up6·1 year agoDon’t forget to keep your return values… rescued_princesses = [{"princess": princess, "rescued": princess.rescue()} for princess in [castle.get_princess() for castle in castles]]
Don’t forget to keep your return values…
rescued_princesses = [{"princess": princess, "rescued": princess.rescue()} for princess in [castle.get_princess() for castle in castles]]