Python
Experimenting Neural Networks from scratch in Python
What is Neural Network? Neural networks are trying to imitate abilities that the human (and animal) brain has, and the computers don’t. The first of those abilities is...
[Plan of Action] Basic Skills Required to get a Job in Python
We acquire different skills. We do have an aspiration to get into our dream with the skills we hone, to make money, to fulfill our basic needs and so the...
Refer These 6 Python Books to Master Programming | Beginners to Advanced
Python is not a new beast in the market. It is one of the funniest programming languages and there has always been a demand for Python among learners to acquire it as a first...
[Solved] C408 Unnecessary (dict/list/tuple) call – rewrite as a literal
Are you seeing failure while running flake8? C408 Unnecessary (dict/list/tuple) call - rewrite as a literal. One of the main purposes of flake8 is to improve the...
Regular Expression to Validate PAN Card Number in Python
Problem Statement: Write a regular expression to validate PAN card number in Python programming. M Stark works in the sales department. He has a paragraph P of words that...
Validate IP Address using RegEx in Python
Problem Statement: Write a Python program to validate if the given string is a valid IP address or not. This is one of the questions asked in Juniper coding interview. In...
Python RegEx | Regular Expression Tutorial with Examples
The RegEx of the Regular Expression is actually a sequene of charaters that is used for searching or pattern matching. Python has module re for matching search patterns. It...
Find Longest Balanced Subarray from String of Curly Braces
You have given a string which contains the curly braces (brackets), both opening and closing braces. You have to find the length of the longest balanced...
Python Tricks for Competitive Programming
1. Sort List of Tuples by Second Value in Reverse Order val = val.sort(key = lambda x: x, reverse=True) print(val) Reference: Sort List of Tuples by First/Second...