Python practice

Blog is to summarize some of the interesting sources for practicing python skills.

  1. Codingbat : Provides online code editor. I like the way they test the code with different values and let u know if it fails in some niche cases. As sometimes code works well in best case scenario.
  2. Practice Python: No online editor , but nice simple examples. Thing i like is the comment section where people give their solutions and interesting to see how different developer thing about same problem.
  3. github python practice question : No online editor , solutions provided , some times kind of hacky and need some fixing as i think problems are contributed by different people may be , but worth giving try.
  4. Google python corner :
  5. HackerRank
  6. codeclubprojects

Some interesting things:

Python generator

Python sets

Python slices

Algorithms and data structures

Big O Notation easy explanation

Context Managers

Some pyCharm tricks:

alt + shift + c – Will show changes with timeline to the current open file.
ctlr + D – Copy the current line multiple times where the cursor is.
Try “Refactor” menu , specially renaming a variable once in code.
press alt key and you can select a column
Comment can be seen in the”Project” tab at the bottom.
ctrl + alt + t : Will give u options on what to be surround a variable with

Blog get updated as i try some new practice website.

Feel free to add if you are aware of any good website.

Decorators

Reference videos :
PyCharm Tips

Python Generators to save resources