This is a blog containing data related news and information that I find interesting or relevant.
Links are given to original sites containing source information for which I can take no responsibility. Any opinion expressed is my own.
Friday, 9 July 2021
Too Many If-Elif Conditions in Python? Use Dictionaries Instead by Tommaso De Ponti via @@BttrProgramming
An unconventional way Python dictionaries can clean up your code.
I'm not convinced but give it a go - maybe you will be comfortable using this more than I was.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.