▲ 72 ▼ Python f-string quiz (fstrings.wtf) submitted 1 year ago by learnbyexample@programming.dev to c/python@programming.dev 15 comments fedilink hide all child comments
[–] joyjoy@lemmy.zip 6 points 1 year ago Walrus is more useful in a while loop. while (data := f.read(1024)): pass permalink fedilink source parent