HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 8 days agoPython needs an actual default functionlemmy.mlimagemessage-square160fedilinkarrow-up1749arrow-down129file-text
arrow-up1720arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 8 days agomessage-square160fedilinkfile-text
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-squareiAvicenna@lemmy.worldlinkfedilinkarrow-up1·edit-26 days agoyea I also couldnt get the formatting to work right, triple quotes kept turning things into accented letters, so I gave up. and also := also known as the walrus operator is very fun and sometimes very convenient to use
yea I also couldnt get the formatting to work right, triple quotes kept turning things into accented letters, so I gave up.
and also := also known as the walrus operator is very fun and sometimes very convenient to use