β°
Current Page
Main Menu
Home
Home
Editing Python Tricks 101π
Edit
Preview
H1
H2
H3
default
Set your preferred keybinding
default
vim
emacs
markdown
Set this page's format to
AsciiDoc
Creole
Markdown
MediaWiki
Org-mode
Plain Text
RDoc
Textile
Rendering unavailable for
BibTeX
Pod
reStructuredText
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
https://medium.com/hackernoon/python-tricks-101-2836251922e0 # Python Tricks 101π. Python tips and tricks which areβ¦ | by Gautham Santhosh | HackerNoon.com | Medium Python tips which are relatively uncommon and are very useful. --------------------------------------------------------------  [Gautham Santhosh](https://medium.com/@gauthamsanthosh)  [HackerNoon.com](https://medium.com/hackernoon) > Talk is cheap show me the code Swapping values ---------------  **Create a single string from all the elements in list** --------------------------------------------------------  **Find The Most Frequent Value In A List.** -------------------------------------------  Checking if two words are anagrams ----------------------------------  Reverse a String ----------------  Reverse a list --------------  Transpose 2d array ------------------  Chained Comparison ------------------  Chained function call ---------------------  Copying List ------------  Dictionary Get --------------  Sort Dictionary by Value ------------------------  For Else --------  Convert list to comma separated -------------------------------  Merge dictβs ------------  Min and Max index in List -------------------------  Remove duplicates from a list -----------------------------  If you think i should i add anymore or have suggestions please do comment. iβll keep on updating this blog. Most of the tricks and tips are taken from [PyTricks](https://github.com/brennerm/PyTricks) and a few blogs . One of the biggest use case for python is machine learning, if you are looking for a job in machine learning checkout [mljobslist.com](https://mljobslist.com/jobs/) . _Thank you for reading π . If you like the Article give it a clap π._ _Do consider Buying me a Coffee_ [_https://www.buymeacoffee.com/gautham_](https://www.buymeacoffee.com/gautham) _, If you loved the article._ _If you wish to have a chat,_ [_DM me at https://twitter.com/gauthamzzz_](https://twitter.com/gauthamzzz)_._ _I am a Masters student at the Indian Institute of Information Technology, Allahabad. My Website_ [_http://gauthamzz.com_](http://gauthamzz.com/)_._ I am working on a customer feedback tracker visit [https://www.featuremonkey.com/](https://www.featuremonkey.com/) which is a great alternative for [canny](https://www.featuremonkey.com/alternatives/canny), [hellonext](https://www.featuremonkey.com/alternatives/hellonext/), [uservoice](https://www.featuremonkey.com/alternatives/uservoice/) which can be used for [feature request tracking](https://www.featuremonkey.com/features/feature-request-tracking/) , [internal feedback](https://www.featuremonkey.com/features/internal-feedback/), [public roadmap](https://www.featuremonkey.com/features/public-roadmap/) etc
Uploading file...
Edit message:
Cancel