HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 6 days agoPython needs an actual default functionlemmy.mlimagemessage-square159fedilinkarrow-up1755arrow-down129file-text
arrow-up1726arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 6 days agomessage-square159fedilinkfile-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-24 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