HiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 个月前Python needs an actual default functionlemmy.mlimagemessage-square39linkfedilinkarrow-up1256arrow-down18file-textcross-posted to: programminghumor@lemmy.worldprogrammer_humor@programming.dev
arrow-up1248arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 个月前message-square39linkfedilinkfile-textcross-posted to: programminghumor@lemmy.worldprogrammer_humor@programming.dev
Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?
minus-squarefox [comrade/them]@hexbear.netlinkfedilinkEnglisharrow-up13·3 个月前I recall that Gondor very much needed a king to return, like it was a pretty big deal that returning as king to Gondor was a necessary deal. Gondor needed Aragorn to return as king. It’s all documented in the third book, The Return of the King.
minus-squaredavel [he/him]@lemmy.mllinkfedilinkarrow-up10·3 个月前$ python -c 'return "King"' File "<string>", line 1 SyntaxError: 'return' outside function $
minus-squarefox [comrade/them]@hexbear.netlinkfedilinkEnglisharrow-up7·3 个月前Like I’m trusting a snake to be honest
minus-squarehuf [he/him]@hexbear.netlinkfedilinkEnglisharrow-up1·3 个月前i dont think boromir ever said that though, this is from that mess made by that B-horror director
I recall that Gondor very much needed a king to return, like it was a pretty big deal that returning as king to Gondor was a necessary deal. Gondor needed Aragorn to return as king. It’s all documented in the third book, The Return of the King.
Like I’m trusting a snake to be honest
i dont think boromir ever said that though, this is from that mess made by that B-horror director