MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-29 months agoNeed a rust version too.toggl.comimagemessage-square94fedilinkarrow-up1852arrow-down134
arrow-up1818arrow-down1imageNeed a rust version too.toggl.comMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-29 months agomessage-square94fedilink
minus-squarescratchresistor@thelemmy.clublinkfedilinkarrow-up7·9 months 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]]